Skip to content

Commit d18dd6d

Browse files
committed
fix hogan import
1 parent 274b4a9 commit d18dd6d

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@
154154
"files": [
155155
"bundles",
156156
"lib",
157-
"lib-esm"
157+
"lib-esm",
158+
"typings"
158159
]
159160
}

src/hoganjs-utils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
2+
/// <reference path="../typings/profoundlogic__hogan.d.ts" />
13
import * as Hogan from '@profoundlogic/hogan';
24

35
import { defaultTemplates } from './diff2html-templates';

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"include": ["src/**/*", "typings/**/*"],
2+
"include": ["src/**/*", "typings/**/*.d.ts"],
33
"exclude": ["node_modules", "src/__tests__/**"],
44
"compilerOptions": {
55
"outDir": "bundles-out",

0 commit comments

Comments
 (0)