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
Describe the bug
I'm using total in a TypeScript project. Types are fine except for the custom functions in prototype of String, Number, Date, and Array defined here:
Basically VS Code says that for example the function last in an Array doesn't exists... After a while I've discovered that if a move all the interface declaration inside the declare global block it works:
Describe the bug
I'm using total in a TypeScript project. Types are fine except for the custom functions in prototype of
String
,Number
,Date
, andArray
defined here:framework4/index.d.ts
Lines 294 to 397 in f9c5f2a
Basically VS Code says that for example the function
last
in an Array doesn't exists... After a while I've discovered that if a move all the interface declaration inside thedeclare global
block it works:I don't know why exactly I got this issue, but I thought might be good to report. This is my
tsconfig.json
Must gather (please complete the following information):
The text was updated successfully, but these errors were encountered: