Skip to content

Commit 65cb713

Browse files
ralphdoefrantuma
authored andcommitted
samples updates - samples/client/petstore/typescript-fetch/builds/es6-target/
1 parent e999e0f commit 65cb713

File tree

3 files changed

+100
-3
lines changed

3 files changed

+100
-3
lines changed

samples/client/petstore/typescript-fetch/builds/es6-target/package-lock.json

Lines changed: 69 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/client/petstore/typescript-fetch/builds/es6-target/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"license": "Unlicense",
1313
"main": "./dist/index.js",
1414
"typings": "./dist/index.d.ts",
15-
"scripts" : {
15+
"scripts": {
1616
"build": "tsc --outDir dist/",
1717
"prepublishOnly": "npm run build"
1818
},
@@ -23,7 +23,7 @@
2323
"@types/node": "^8.0.9",
2424
"typescript": "^2.0"
2525
},
26-
"publishConfig":{
27-
"registry":"https://skimdb.npmjs.com/registry"
26+
"publishConfig": {
27+
"registry": "https://skimdb.npmjs.com/registry"
2828
}
2929
}

samples/client/petstore/typescript-fetch/builds/with-npm-version/api.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,26 @@ export class RequiredError extends Error {
7878
}
7979
}
8080

81+
/**
82+
* some description
83+
* @export
84+
* @interface Amount
85+
*/
86+
export interface Amount {
87+
/**
88+
* some description
89+
* @type {number}
90+
* @memberof Amount
91+
*/
92+
value: number;
93+
/**
94+
*
95+
* @type {Currency}
96+
* @memberof Amount
97+
*/
98+
currency: Currency;
99+
}
100+
81101
/**
82102
* Describes the result of uploading an image resource
83103
* @export
@@ -124,6 +144,14 @@ export interface Category {
124144
name?: string;
125145
}
126146

147+
/**
148+
* some description
149+
* @export
150+
* @interface Currency
151+
*/
152+
export interface Currency {
153+
}
154+
127155
/**
128156
* An order for a pets from the pet store
129157
* @export

0 commit comments

Comments
 (0)