git submodule of blockly with typescript

54 views
Skip to first unread message

yixin

unread,
Jun 17, 2021, 4:28:41 AM6/17/21
to Blockly
Hello, I used blockly from npm and the typescript works fine, and now I use blockly from git submodule, then the `import Blockly from 'blockly/core'` throw ts error that 'cannot find module “blockly/core”'. I tried relative path to import blockly: `import Blockly from 'path/to/blockly/core` but still same error. Anyone know how to config the typescript?
Reply all
Reply to author
Forward
0 new messages