Skip to content

Commit 2965dca

Browse files
author
Silas Boyd-Wickizer
committed
Fix request import in log.ts
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
1 parent 64d2de5 commit 2965dca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/log.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { default as request } from 'request';
1+
import request = require('request');
22
import { Writable } from 'stream';
33

44
import { KubeConfig } from './config';

0 commit comments

Comments
 (0)