bos-web-engine icon indicating copy to clipboard operation
bos-web-engine copied to clipboard

Consolidate component TS definitions

Open mpeterdev opened this issue 1 year ago • 0 comments

There are two places where we maintain the same TS definitions which allow editors to do proper intellisense and linting: https://github.com/near/bos-web-engine/blob/ff266b1c9d3b69a2740dd0b6e0059fa3a759a6d3/apps/demos/globals.d.ts

https://github.com/near/bos-web-engine/blob/ff266b1c9d3b69a2740dd0b6e0059fa3a759a6d3/packages/sandbox/src/constants.ts (see entry for resolutionPath: 'file:///globals.d.ts')

We should consolidate these in a single package which can be imported in both places and also published to npm for usage by other tools

mpeterdev avatar Jan 22 '24 18:01 mpeterdev