Skip to content
Permalink
Browse files

Explicitly reference the Node.js type definition

  • Loading branch information...
sindresorhus authored and novemberborn committed Jun 10, 2019
1 parent b3c9ea7 commit bb44da714bf8c1d7f18ae581aeb292b3cd0d0cf0
Showing with 11 additions and 8 deletions.
  1. +2 −0 index.d.ts
  2. +3 −3 package-lock.json
  3. +1 −0 package.json
  4. +5 −5 test/ts-types/tsconfig.json
@@ -1,3 +1,5 @@
/// <reference types="node"/>

export interface ObservableLike {
subscribe(observer: (value: unknown) => void): void;
[Symbol.observable](): ObservableLike;

Some generated files are not rendered by default. Learn more.

@@ -135,6 +135,7 @@
"write-file-atomic": "^3.0.0"
},
"devDependencies": {
"@types/node": "^8.10.49",
"cli-table3": "^0.5.1",
"codecov": "^3.5.0",
"delay": "^4.2.0",
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "ES2017",
"strict": true
}
"compilerOptions": {
"module": "commonjs",
"target": "es2017",
"strict": true
}
}

0 comments on commit bb44da7

Please sign in to comment.
You can’t perform that action at this time.