From 32d6a213fb8a0b3bdddfdb9f9f5bff13d759b572 Mon Sep 17 00:00:00 2001 From: Sean Tan Date: Tue, 12 Sep 2017 14:53:56 +0800 Subject: [PATCH] Move exising definition for lunr.js 0.5.4 to lunr/v0 --- types/lunr/{ => v0}/index.d.ts | 0 types/lunr/{ => v0}/lunr-tests.ts | 0 types/lunr/{ => v0}/tsconfig.json | 7 +++++-- 3 files changed, 5 insertions(+), 2 deletions(-) rename types/lunr/{ => v0}/index.d.ts (100%) rename types/lunr/{ => v0}/lunr-tests.ts (100%) rename types/lunr/{ => v0}/tsconfig.json (78%) diff --git a/types/lunr/index.d.ts b/types/lunr/v0/index.d.ts similarity index 100% rename from types/lunr/index.d.ts rename to types/lunr/v0/index.d.ts diff --git a/types/lunr/lunr-tests.ts b/types/lunr/v0/lunr-tests.ts similarity index 100% rename from types/lunr/lunr-tests.ts rename to types/lunr/v0/lunr-tests.ts diff --git a/types/lunr/tsconfig.json b/types/lunr/v0/tsconfig.json similarity index 78% rename from types/lunr/tsconfig.json rename to types/lunr/v0/tsconfig.json index 608f88b0b2..37f937893d 100644 --- a/types/lunr/tsconfig.json +++ b/types/lunr/v0/tsconfig.json @@ -7,10 +7,13 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, - "baseUrl": "../", + "baseUrl": "../../", "typeRoots": [ - "../" + "../../" ], + "paths": { + "lunr": ["lunr/v0"] + }, "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true