typescript y-* module imports

This commit is contained in:
Kevin Jahns 2019-12-10 17:27:32 +01:00
parent 70510fe27a
commit 1ff047d6f7

View File

@ -38,7 +38,9 @@
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
"baseUrl": "./", /* Base directory to resolve non-absolute module names. */ "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
"paths": { "paths": {
"yjs": ["node_modules/yjs/src/index.js"] "yjs": ["node_modules/yjs/src/index.js"],
"lib0/*": ["node_modules/lib0/*"],
"y-protocols/*": ["node_modules/y-protocols/*"]
}, },
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [], /* List of folders to include type definitions from. */ // "typeRoots": [], /* List of folders to include type definitions from. */