-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not finding Promise #6
Comments
This is a compiler diagnostic from the TypeScript compiler itself and not an error from |
Ah I see. I am trying it on this branch of passit-sdk-js. command line output
$ ./node_modules/.bin/tsc
$ ./node_modules/.bin/tsc passit_sdk/*
error TS6054: File 'passit_sdk/api.js' has unsupported extension. The only supported extensions are '.ts', '.tsx', '.d.ts'.
error TS6054: File 'passit_sdk/constants.js' has unsupported extension. The only supported extensions are '.ts', '.tsx', '.d.ts'.
error TS6054: File 'passit_sdk/decorators.js' has unsupported extension. The only supported extensions are '.ts', '.tsx', '.d.ts'.
error TS6054: File 'passit_sdk/exceptions.js' has unsupported extension. The only supported extensions are '.ts', '.tsx', '.d.ts'.
error TS6054: File 'passit_sdk/hash.js' has unsupported extension. The only supported extensions are '.ts', '.tsx', '.d.ts'.
error TS6054: File 'passit_sdk/index.js' has unsupported extension. The only supported extensions are '.ts', '.tsx', '.d.ts'.
error TS6054: File 'passit_sdk/interfaces.js' has unsupported extension. The only supported extensions are '.ts', '.tsx', '.d.ts'.
error TS6054: File 'passit_sdk/sdk.js' has unsupported extension. The only supported extensions are '.ts', '.tsx', '.d.ts'.
error TS6054: File 'passit_sdk/sdk.spec.js' has unsupported extension. The only supported extensions are '.ts', '.tsx', '.d.ts'.
error TS6054: File 'passit_sdk/testResponses.js' has unsupported extension. The only supported extensions are '.ts', '.tsx', '.d.ts'.
error TS6054: File 'passit_sdk/utils.js' has unsupported extension. The only supported extensions are '.ts', '.tsx', '.d.ts'.
./node_modules/.bin/tsc passit_sdk/*.ts
node_modules/@types/core-js/index.d.ts(350,48): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(351,52): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(352,34): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(353,34): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(354,34): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(355,61): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(356,60): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(357,65): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(357,97): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(358,60): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(359,58): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(360,59): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(361,58): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(362,61): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(362,117): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(363,42): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(365,81): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(366,78): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(367,76): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(368,73): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(464,59): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(465,59): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(467,48): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(468,69): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(472,40): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(474,48): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(494,55): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(495,45): error TS2304: Cannot find name 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(627,20): error TS2304: Cannot find name 'PromiseConstructor'.
node_modules/@types/core-js/index.d.ts(1280,36): error TS2339: Property 'for' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(1284,43): error TS2339: Property 'hasInstance' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(1288,50): error TS2339: Property 'isConcatSpreadable' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(1296,38): error TS2339: Property 'keyFor' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(1300,37): error TS2339: Property 'match' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(1304,39): error TS2339: Property 'replace' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(1308,38): error TS2339: Property 'search' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(1312,39): error TS2339: Property 'species' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(1316,37): error TS2339: Property 'split' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(1320,43): error TS2339: Property 'toPrimitive' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(1324,43): error TS2339: Property 'toStringTag' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(1328,43): error TS2339: Property 'unscopables' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(2059,36): error TS2339: Property 'for' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(2063,43): error TS2339: Property 'hasInstance' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(2067,50): error TS2339: Property 'isConcatSpreadable' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(2075,38): error TS2339: Property 'keyFor' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(2079,37): error TS2339: Property 'match' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(2083,39): error TS2339: Property 'replace' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(2087,38): error TS2339: Property 'search' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(2091,39): error TS2339: Property 'species' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(2095,37): error TS2339: Property 'split' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(2099,43): error TS2339: Property 'toPrimitive' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(2103,43): error TS2339: Property 'toStringTag' does not exist on type 'SymbolConstructor'.
node_modules/@types/core-js/index.d.ts(2107,43): error TS2339: Property 'unscopables' does not exist on type 'SymbolConstructor'.
passit_sdk/sdk.ts(60,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(85,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(116,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(153,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
Supplied parameters do not match any signature of call target.
passit_sdk/sdk.ts(154,12): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
passit_sdk/sdk.ts(158,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(182,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
Supplied parameters do not match any signature of call target.
passit_sdk/sdk.ts(183,12): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
passit_sdk/sdk.ts(184,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(205,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
Supplied parameters do not match any signature of call target.
passit_sdk/sdk.ts(206,12): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
passit_sdk/sdk.ts(207,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(224,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
Supplied parameters do not match any signature of call target.
passit_sdk/sdk.ts(225,12): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
passit_sdk/sdk.ts(226,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(232,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
Supplied parameters do not match any signature of call target.
passit_sdk/sdk.ts(233,12): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
passit_sdk/sdk.ts(234,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(246,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
Supplied parameters do not match any signature of call target.
passit_sdk/sdk.ts(247,12): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
passit_sdk/sdk.ts(248,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(283,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
Supplied parameters do not match any signature of call target.
passit_sdk/sdk.ts(284,12): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
passit_sdk/sdk.ts(285,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(298,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
Supplied parameters do not match any signature of call target.
passit_sdk/sdk.ts(299,12): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
passit_sdk/sdk.ts(325,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
Supplied parameters do not match any signature of call target.
passit_sdk/sdk.ts(326,12): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
passit_sdk/sdk.ts(327,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(390,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
Supplied parameters do not match any signature of call target.
passit_sdk/sdk.ts(391,12): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
passit_sdk/sdk.ts(392,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(433,21): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(451,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
Supplied parameters do not match any signature of call target.
passit_sdk/sdk.ts(452,12): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
passit_sdk/sdk.ts(453,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(470,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
Supplied parameters do not match any signature of call target.
passit_sdk/sdk.ts(471,12): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
passit_sdk/sdk.ts(472,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(485,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
Supplied parameters do not match any signature of call target.
passit_sdk/sdk.ts(486,12): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
passit_sdk/sdk.ts(487,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(501,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
Supplied parameters do not match any signature of call target.
passit_sdk/sdk.ts(502,12): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
passit_sdk/sdk.ts(503,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(504,58): error TS2339: Property 'find' does not exist on type 'IDBSecretThrough[]'.
passit_sdk/sdk.ts(530,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
Supplied parameters do not match any signature of call target.
passit_sdk/sdk.ts(531,12): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
passit_sdk/sdk.ts(532,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(537,37): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(542,13): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(576,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
Supplied parameters do not match any signature of call target.
passit_sdk/sdk.ts(577,12): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
passit_sdk/sdk.ts(578,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(601,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
Supplied parameters do not match any signature of call target.
passit_sdk/sdk.ts(602,12): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
passit_sdk/sdk.ts(604,24): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(606,17): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(625,21): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(633,24): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(635,17): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(659,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(669,13): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(684,17): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(721,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(727,39): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
passit_sdk/sdk.ts(761,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(766,36): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(771,39): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
passit_sdk/sdk.ts(800,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(815,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.ts(835,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/testResponses.ts(96,27): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
passit_sdk/api.ts(10,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/api.ts(47,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/api.ts(62,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/api.ts(98,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
passit_sdk/sdk.spec.ts(35,16): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
$ tsr -c tsconfig.json passit_sdk/*.ts
ℹ ts-runtime v0.1.23
✔ Processing (1s)
✔ Scanning (812ms)
✔ Transforming (580ms)
✖ passit_sdk/api.ts(29,76): error TS4070: Parameter 'body' of public static method from exported class has or is using private name 'B'.
✖ passit_sdk/api.ts(29,88): error TS4070: Parameter 'headers' of public static method from exported class has or is using private name 'IHeaders'.
✖ passit_sdk/api.ts(29,121): error TS4052: Return type of public static method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(67,51): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(67,59): error TS4055: Return type of public method from exported class has or is using private name 'ILoginResonse'.
✖ passit_sdk/api.ts(79,49): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(87,29): error TS4073: Parameter 'user' of public method from exported class has or is using private name 'ICreateUser'.
✖ passit_sdk/api.ts(87,43): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(87,51): error TS4055: Return type of public method from exported class has or is using private name 'IUser'.
✖ passit_sdk/api.ts(93,45): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(93,53): error TS4055: Return type of public method from exported class has or is using private name 'IPublicAuthResponse'.
✖ passit_sdk/api.ts(99,42): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(99,50): error TS4055: Return type of public method from exported class has or is using private name 'IUserPublicKey'.
✖ passit_sdk/api.ts(105,31): error TS4073: Parameter 'group' of public method from exported class has or is using private name 'ICreateGroup'.
✖ passit_sdk/api.ts(105,46): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(105,54): error TS4055: Return type of public method from exported class has or is using private name 'ICreateGroupResp'.
✖ passit_sdk/api.ts(111,43): error TS4073: Parameter 'group' of public method from exported class has or is using private name 'Partial'.
✖ passit_sdk/api.ts(111,51): error TS4073: Parameter 'group' of public method from exported class has or is using private name 'ICreateGroup'.
✖ passit_sdk/api.ts(111,67): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(111,75): error TS4055: Return type of public method from exported class has or is using private name 'ICreateGroupResp'.
✖ passit_sdk/api.ts(119,37): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(125,34): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(125,42): error TS4055: Return type of public method from exported class has or is using private name 'IGroup'.
✖ passit_sdk/api.ts(131,25): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(131,33): error TS4055: Return type of public method from exported class has or is using private name 'IGroup'.
✖ passit_sdk/api.ts(135,56): error TS4073: Parameter 'groupUser' of public method from exported class has or is using private name 'ICreateGroupUser'.
✖ passit_sdk/api.ts(135,75): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(135,83): error TS4055: Return type of public method from exported class has or is using private name 'IGroupUser'.
✖ passit_sdk/api.ts(143,58): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(151,27): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(151,35): error TS4055: Return type of public method from exported class has or is using private name 'IContact'.
✖ passit_sdk/api.ts(155,33): error TS4073: Parameter 'secret' of public method from exported class has or is using private name 'ICreateSecret'.
✖ passit_sdk/api.ts(155,49): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(155,57): error TS4055: Return type of public method from exported class has or is using private name 'ISecret'.
✖ passit_sdk/api.ts(161,45): error TS4073: Parameter 'secret' of public method from exported class has or is using private name 'IUpdateSecret'.
✖ passit_sdk/api.ts(161,61): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(161,69): error TS4055: Return type of public method from exported class has or is using private name 'ISecret'.
✖ passit_sdk/api.ts(169,57): error TS4073: Parameter 'secret' of public method from exported class has or is using private name 'IUpdateSecretWithThroughs'.
✖ passit_sdk/api.ts(169,85): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(169,93): error TS4055: Return type of public method from exported class has or is using private name 'ISecret'.
✖ passit_sdk/api.ts(177,35): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(177,43): error TS4055: Return type of public method from exported class has or is using private name 'ISecret'.
✖ passit_sdk/api.ts(183,26): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(183,34): error TS4055: Return type of public method from exported class has or is using private name 'ISecret'.
✖ passit_sdk/api.ts(187,38): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(193,61): error TS4073: Parameter 'secretGroup' of public method from exported class has or is using private name 'ICreateSecretThroughGroup'.
✖ passit_sdk/api.ts(193,89): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(193,97): error TS4055: Return type of public method from exported class has or is using private name 'ISecretThroughGroup'.
✖ passit_sdk/api.ts(201,74): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/api.ts(209,43): error TS4073: Parameter 'changePassword' of public method from exported class has or is using private name 'IChangePassword'.
✖ passit_sdk/api.ts(209,61): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/exceptions.ts(8,40): error TS4020: 'extends' clause of exported class 'ResponseException' has or is using private name 'Error'.
✖ passit_sdk/exceptions.ts(27,35): error TS4020: 'extends' clause of exported class 'SDKException' has or is using private name 'Error'.
✖ passit_sdk/exceptions.ts(45,54): error TS4020: 'extends' clause of exported class 'AuthenticationRequiredException' has or is using private name 'Error'.
✖ passit_sdk/sdk.ts(160,56): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/sdk.ts(181,95): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/sdk.ts(211,59): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/sdk.ts(246,55): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/sdk.ts(272,13): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/sdk.ts(282,43): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/sdk.ts(294,40): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/sdk.ts(301,27): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/sdk.ts(312,70): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/sdk.ts(330,74): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/sdk.ts(340,29): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/sdk.ts(367,40): error TS4073: Parameter 'secret' of public method from exported class has or is using private name 'INewSecret'.
✖ passit_sdk/sdk.ts(367,53): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/sdk.ts(398,40): error TS4073: Parameter 'secret' of public method from exported class has or is using private name 'ISecret'.
✖ passit_sdk/sdk.ts(398,50): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/sdk.ts(430,45): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/sdk.ts(442,42): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/sdk.ts(453,28): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/sdk.ts(463,61): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/sdk.ts(485,86): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/sdk.ts(514,81): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ passit_sdk/sdk.ts(534,56): error TS4055: Return type of public method from exported class has or is using private name 'Promise'.
✖ Emitting was interrupted. Is there a corresponding way I can run |
Currently there is no corresponding way to run As I can see, the errors occur with You could try to run Anyway, thank you for trying out |
I could see you did some refactoring on your project. Did it resolve the TypeScript compiler diagnostics? |
I've opened a request to fix issues like these in TypeScript by bringing declaration files to parity with language features. microsoft/TypeScript#35822 |
This library seems very exciting! I just started using it and it seems to think that
Promise
is a private name:My
tsconfig.js
that I am using isAny ideas?
The text was updated successfully, but these errors were encountered: