From f2b0adfa0502f308fed134240e6deb9d67aa250b Mon Sep 17 00:00:00 2001 From: Navneet Karnani Date: Thu, 23 Aug 2018 15:03:38 +0530 Subject: [PATCH] Nit: Language fix in README.md (#871) * Nit: Language fix in README.md Usage of "then" vs "than" * update TS petstore samples --- .../src/main/resources/typescript-angular/README.mustache | 6 +++--- .../client/petstore/typescript-angular-v2/default/README.md | 4 ++-- samples/client/petstore/typescript-angular-v2/npm/README.md | 4 ++-- .../typescript-angular-v2/with-interfaces/README.md | 4 ++-- .../client/petstore/typescript-angular-v4.3/npm/README.md | 4 ++-- samples/client/petstore/typescript-angular-v4/npm/README.md | 4 ++-- .../builds/default/README.md | 4 ++-- .../builds/with-npm/README.md | 4 ++-- .../builds/default/README.md | 4 ++-- .../builds/with-npm/README.md | 4 ++-- 10 files changed, 21 insertions(+), 21 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/typescript-angular/README.mustache b/modules/openapi-generator/src/main/resources/typescript-angular/README.mustache index c701faf6be..ad56f190c4 100644 --- a/modules/openapi-generator/src/main/resources/typescript-angular/README.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-angular/README.mustache @@ -11,10 +11,10 @@ npm run build ### publishing {{#useNgPackagr}} -First build the package than run ```npm publish dist``` (don't forget to specify the `dist` folder!) +First build the package then run ```npm publish dist``` (don't forget to specify the `dist` folder!) {{/useNgPackagr}} {{^useNgPackagr}} -First build the package than run ```npm publish``` +First build the package then run ```npm publish``` {{/useNgPackagr}} ### consuming @@ -190,4 +190,4 @@ import { environment } from '../environments/environment'; bootstrap: [ AppComponent ] }) export class AppModule { } -``` \ No newline at end of file +``` diff --git a/samples/client/petstore/typescript-angular-v2/default/README.md b/samples/client/petstore/typescript-angular-v2/default/README.md index 596c10f393..ae7f5c307e 100644 --- a/samples/client/petstore/typescript-angular-v2/default/README.md +++ b/samples/client/petstore/typescript-angular-v2/default/README.md @@ -10,7 +10,7 @@ npm run build ### publishing -First build the package than run ```npm publish``` +First build the package then run ```npm publish``` ### consuming @@ -171,4 +171,4 @@ import { environment } from '../environments/environment'; bootstrap: [ AppComponent ] }) export class AppModule { } -``` \ No newline at end of file +``` diff --git a/samples/client/petstore/typescript-angular-v2/npm/README.md b/samples/client/petstore/typescript-angular-v2/npm/README.md index 8c00e06683..0239b2b8e0 100644 --- a/samples/client/petstore/typescript-angular-v2/npm/README.md +++ b/samples/client/petstore/typescript-angular-v2/npm/README.md @@ -10,7 +10,7 @@ npm run build ### publishing -First build the package than run ```npm publish``` +First build the package then run ```npm publish``` ### consuming @@ -171,4 +171,4 @@ import { environment } from '../environments/environment'; bootstrap: [ AppComponent ] }) export class AppModule { } -``` \ No newline at end of file +``` diff --git a/samples/client/petstore/typescript-angular-v2/with-interfaces/README.md b/samples/client/petstore/typescript-angular-v2/with-interfaces/README.md index 596c10f393..ae7f5c307e 100644 --- a/samples/client/petstore/typescript-angular-v2/with-interfaces/README.md +++ b/samples/client/petstore/typescript-angular-v2/with-interfaces/README.md @@ -10,7 +10,7 @@ npm run build ### publishing -First build the package than run ```npm publish``` +First build the package then run ```npm publish``` ### consuming @@ -171,4 +171,4 @@ import { environment } from '../environments/environment'; bootstrap: [ AppComponent ] }) export class AppModule { } -``` \ No newline at end of file +``` diff --git a/samples/client/petstore/typescript-angular-v4.3/npm/README.md b/samples/client/petstore/typescript-angular-v4.3/npm/README.md index b504a6395b..6424634815 100644 --- a/samples/client/petstore/typescript-angular-v4.3/npm/README.md +++ b/samples/client/petstore/typescript-angular-v4.3/npm/README.md @@ -10,7 +10,7 @@ npm run build ### publishing -First build the package than run ```npm publish dist``` (don't forget to specify the `dist` folder!) +First build the package then run ```npm publish dist``` (don't forget to specify the `dist` folder!) ### consuming @@ -175,4 +175,4 @@ import { environment } from '../environments/environment'; bootstrap: [ AppComponent ] }) export class AppModule { } -``` \ No newline at end of file +``` diff --git a/samples/client/petstore/typescript-angular-v4/npm/README.md b/samples/client/petstore/typescript-angular-v4/npm/README.md index f1a1a349de..867df4b48f 100644 --- a/samples/client/petstore/typescript-angular-v4/npm/README.md +++ b/samples/client/petstore/typescript-angular-v4/npm/README.md @@ -10,7 +10,7 @@ npm run build ### publishing -First build the package than run ```npm publish dist``` (don't forget to specify the `dist` folder!) +First build the package then run ```npm publish dist``` (don't forget to specify the `dist` folder!) ### consuming @@ -171,4 +171,4 @@ import { environment } from '../environments/environment'; bootstrap: [ AppComponent ] }) export class AppModule { } -``` \ No newline at end of file +``` diff --git a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/README.md b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/README.md index 533ff05c0d..b6c812a56e 100644 --- a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/README.md +++ b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/README.md @@ -10,7 +10,7 @@ npm run build ### publishing -First build the package than run ```npm publish``` +First build the package then run ```npm publish``` ### consuming @@ -175,4 +175,4 @@ import { environment } from '../environments/environment'; bootstrap: [ AppComponent ] }) export class AppModule { } -``` \ No newline at end of file +``` diff --git a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/README.md b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/README.md index 6f80c2cdc8..a1d8a9592d 100644 --- a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/README.md +++ b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/README.md @@ -10,7 +10,7 @@ npm run build ### publishing -First build the package than run ```npm publish dist``` (don't forget to specify the `dist` folder!) +First build the package then run ```npm publish dist``` (don't forget to specify the `dist` folder!) ### consuming @@ -175,4 +175,4 @@ import { environment } from '../environments/environment'; bootstrap: [ AppComponent ] }) export class AppModule { } -``` \ No newline at end of file +``` diff --git a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/README.md b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/README.md index 533ff05c0d..b6c812a56e 100644 --- a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/README.md +++ b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/README.md @@ -10,7 +10,7 @@ npm run build ### publishing -First build the package than run ```npm publish``` +First build the package then run ```npm publish``` ### consuming @@ -175,4 +175,4 @@ import { environment } from '../environments/environment'; bootstrap: [ AppComponent ] }) export class AppModule { } -``` \ No newline at end of file +``` diff --git a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/README.md b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/README.md index 6f80c2cdc8..a1d8a9592d 100644 --- a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/README.md +++ b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/README.md @@ -10,7 +10,7 @@ npm run build ### publishing -First build the package than run ```npm publish dist``` (don't forget to specify the `dist` folder!) +First build the package then run ```npm publish dist``` (don't forget to specify the `dist` folder!) ### consuming @@ -175,4 +175,4 @@ import { environment } from '../environments/environment'; bootstrap: [ AppComponent ] }) export class AppModule { } -``` \ No newline at end of file +```