From 274c7703087655307f8c1fc9b1ad6440ecd0b195 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 6 Jan 2018 09:07:33 -0500 Subject: [PATCH] reference jslib module --- package.json | 3 ++- src/models/data/cipherData.ts | 2 +- tsconfig.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 951cb8a016d..41927325b25 100644 --- a/package.json +++ b/package.json @@ -75,6 +75,7 @@ "@types/papaparse": "4.1.31", "@types/tldjs": "1.7.1", "@types/webcrypto": "^0.0.28", - "@uirouter/angularjs": "^1.0.10" + "@uirouter/angularjs": "^1.0.10", + "@bitwarden/jslib": "0.0.10" } } diff --git a/src/models/data/cipherData.ts b/src/models/data/cipherData.ts index 413612122f4..f8fc266d458 100644 --- a/src/models/data/cipherData.ts +++ b/src/models/data/cipherData.ts @@ -1,4 +1,4 @@ -import { CipherType } from '../../enums/cipherType.enum'; +import { CipherType } from '@bitwarden/jslib'; import { AttachmentData } from './attachmentData'; import { CardData } from './cardData'; diff --git a/tsconfig.json b/tsconfig.json index e65247c9744..910bfbb9cfd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "noImplicitAny": true, - "module": "es6", + "module": "commonjs", "target": "ES2016", "allowJs": true, "sourceMap": true,