TypeScript question
Posted: Wed Dec 19, 2018 11:57 pm
I'm not a TS expert. Why do you include the grid.d.ts file if TS checking can be done via JSDoc?
https://www.bryntum.com/products/grid/changelog/
>>> Full TypeScript typings included as build/grid.d.ts. Typings define module bryntum-grid to avoid possible name collisions, so we had to also rename import in the angular demo.
See: "You can avoid TypeScript syntax altogether and use only JSDoc comments in your .js files to get the same type safety as if you were writing canonically TS."
https://twitter.com/styfle/status/1069354662791393280
https://www.bryntum.com/products/grid/changelog/
>>> Full TypeScript typings included as build/grid.d.ts. Typings define module bryntum-grid to avoid possible name collisions, so we had to also rename import in the angular demo.
See: "You can avoid TypeScript syntax altogether and use only JSDoc comments in your .js files to get the same type safety as if you were writing canonically TS."
https://twitter.com/styfle/status/1069354662791393280