From 1ff047d6f797be2d12362bf2ad2d11f1ac571429 Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Tue, 10 Dec 2019 17:27:32 +0100 Subject: [PATCH] typescript y-* module imports --- tsconfig.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index b559176..7682d2d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -38,7 +38,9 @@ "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ "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. */ // "typeRoots": [], /* List of folders to include type definitions from. */