You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be a dumb question but when importing @jxa/global-type on my .ts file and then compiling I get this error:
node_modules/@jxa/global-type/src/index.d.ts:8:11 - error TS2403: Subsequent variable declarations must have the same type. Variable 'Application' must be of type'typeof Application', but here has type'typeof Application & object'.
8 const Application: typeof Application_ & object;~~~~~~~~~~~
Found 1 error.
seems like its causing conflict with this two definition type..
FWIW removing & object from the type definition has worked for me. But I should add that (1) My testing has been very limited so far and (2) I'm pretty new-ish to TypeScript so don't fully understand the implications.
Hi there!
This might be a dumb question but when importing @jxa/global-type on my .ts file and then compiling I get this error:
seems like its causing conflict with this two definition type..
JXA/packages/@jxa/global-type/src/index.d.ts
Line 8 in 92b61a5
Is it necessary to check that Application is also an object?
The text was updated successfully, but these errors were encountered: