Skip to content

Commit 584cf1a

Browse files
committed
Change tslint config to allow default export
1 parent 5c1375c commit 584cf1a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as dgraph from './dgraph';
1+
import * as dgraph from "./dgraph";
22

33
export * from "./dgraph";
4-
export default dgraph;
4+
export default dgraph;

tslint.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"insecure-random": false,
1616
"no-multiline-string": false,
1717
"newline-per-chained-call": false,
18+
"no-default-export": false,
1819
"trailing-comma": [
1920
true,
2021
{

0 commit comments

Comments
 (0)