Skip to content

Commit

Permalink
Merge pull request #2 from fabrix-app/v1.6
Browse files Browse the repository at this point in the history
feat(): esModuleInterop, typescript 3^
  • Loading branch information
scott-wyatt authored Jun 18, 2019
2 parents b991c8c + dc37f96 commit 4e5cc44
Show file tree
Hide file tree
Showing 7 changed files with 776 additions and 737 deletions.
2 changes: 1 addition & 1 deletion lib/RealtimeSpool.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Spool } from '@fabrix/fabrix/dist/common'
import { Utils as RouterUtils } from '@fabrix/spool-router'
import * as Primus from 'primus'
import Primus from 'primus'

const primusDefaults = {
transformer: 'engine.io'
Expand Down
2 changes: 1 addition & 1 deletion lib/schemas/realtimeConfig.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

import * as joi from 'joi'
import joi from 'joi'

export const realtimeConfig = joi.object().keys({
path: joi.string().allow(null, ''),
Expand Down
1 change: 1 addition & 0 deletions lib/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"declaration": true,
"strict": false,
"noImplicitAny": false,
"esModuleInterop": true,
"typeRoots": [
"node_modules/@types"
],
Expand Down
2 changes: 1 addition & 1 deletion lib/validator/validateConfig.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as joi from 'joi'
import joi from 'joi'
import { realtimeConfig } from '../schemas/realtimeConfig'

export const validateConfig = {
Expand Down
Loading

0 comments on commit 4e5cc44

Please sign in to comment.