Skip to content

Commit

Permalink
Fix request import in log.ts
Browse files Browse the repository at this point in the history
Use the TypeScript CommonJS-style import:

  https://www.typescriptlang.org/docs/handbook/modules.html

because it looks like the request types use the CommonJS-style export:

  https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/request/index.d.ts#L397

CC #274
  • Loading branch information
Silas Boyd-Wickizer committed Jun 12, 2019
1 parent 64d2de5 commit 2965dca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/log.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { default as request } from 'request';
import request = require('request');
import { Writable } from 'stream';

import { KubeConfig } from './config';
Expand Down

0 comments on commit 2965dca

Please sign in to comment.