Comments (5)
This is a compiler diagnostic from the TypeScript compiler itself and not an error from ts-runtime
. To ignore semantic errors you could use the --force
flag with tsr
. If you post your passit_sdk/api.ts
around line 45, I can probably give a hint what's the issue here.
from ts-runtime.
Ah I see. I am trying it on this branch of passit-sdk-js. tsc
works on my project, but not when I pass in the filenames individually, only when I run just plain tsc
:
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 tsr
without any filename arguments?
from ts-runtime.
Currently there is no corresponding way to run tsr
without specifying entry files. Also using wildcards may cause issues with ts-runtime
, as I didn't consider them yet. It's not really a drop-in replacement for tsc
.
As I can see, the errors occur with tsr
, when files are being emitted, which is after the transformations have been applied. Probably the TypeScript compiler diagnostics should be ignored at this point.
You could try to run tsr passit_sdk/index -c tsconfig.json --force
for now and I'll try to track down the issue.
Anyway, thank you for trying out ts-runtime
, it's a fairly young project and I'm happy for any feedback, suggestions and bug reports :)
from ts-runtime.
I could see you did some refactoring on your project. Did it resolve the TypeScript compiler diagnostics?
from ts-runtime.
I've opened a request to fix issues like these in TypeScript by bringing declaration files to parity with language features. microsoft/TypeScript#35822
from ts-runtime.
Related Issues (20)
- Runtime type system with io-ts HOT 2
- disallow NaN for number types HOT 3
- Can this work that way c# reflection works? HOT 2
- Use json schemas for runtime type checks
- SourceMap support? HOT 2
- Unable to Generate d.ts Declaration Files HOT 3
- Local type-check HOT 1
- Fails with compilerOptions.noEmitOnError=true HOT 2
- Feature Request: transform() input and output strings HOT 1
- Bug: tsr-declarations requires do not work with rootDir HOT 9
- Might this be picked up again? HOT 1
- How would I use those only on select files? HOT 1
- [Curious] Design HOT 1
- No reflection for syntax kind 'UnknownKeyword' found. HOT 3
- Custom Type Run time type checking issue not working HOT 4
- How to use it with React Native? HOT 1
- Webpack plugin HOT 12
- Demo error HOT 1
- Some issues with generic classes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ts-runtime.