Skip to content

Commit

Permalink
fix build of es module
Browse files Browse the repository at this point in the history
  • Loading branch information
rinick committed Apr 20, 2021
1 parent f7fcc16 commit 18c0489
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion es/src/responder/response/subscribe.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ValueUpdate } from '../../common/value';
import { Response } from '../response';
import { NodeState } from '../node_state';
import { Responder } from '../responder';
import Denque = require('denque');
import Denque from 'denque';
interface ISubscriptionNodeStorage {
}
export declare class SubscribeResponse extends Response {
Expand Down
1 change: 1 addition & 0 deletions es/src/responder/response/subscribe.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/src/responder/response/subscribe.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ValueUpdate } from '../../common/value';
import { Response } from '../response';
import { NodeState } from '../node_state';
import { Responder } from '../responder';
import Denque = require('denque');
import Denque from 'denque';
interface ISubscriptionNodeStorage {
}
export declare class SubscribeResponse extends Response {
Expand Down
7 changes: 5 additions & 2 deletions js/src/responder/response/subscribe.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ts/src/responder/response/subscribe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {LocalNode, NodeState} from '../node_state';
import * as path from 'path';
import {Responder} from '../responder';
import {DSA_CONFIG} from '../../common/connection-handler';
import Denque = require('denque');
import Denque from 'denque';

interface ISubscriptionNodeStorage {}

Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"jsx": "react",
"moduleResolution": "node",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"declaration": true,
"lib": [
"es2017",
Expand All @@ -23,4 +24,4 @@
"exclude": [
"node_modules"
]
}
}

0 comments on commit 18c0489

Please sign in to comment.