Skip to content

Commit

Permalink
Remove some triple-slash references
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Jan 5, 2025
1 parent fed562b commit 8927bc6
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 12 deletions.
2 changes: 0 additions & 2 deletions src/lib/readable-stream/async-iterator.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference lib="es2018.asynciterable" />

import { ReadableStream } from '../readable-stream';
import {
AcquireReadableStreamDefaultReader,
Expand Down
2 changes: 0 additions & 2 deletions src/stub/math-trunc.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference lib="es2015.core" />

// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc#Polyfill
const MathTrunc: typeof Math.trunc = Math.trunc || function (v) {
return v < 0 ? Math.ceil(v) : Math.floor(v);
Expand Down
2 changes: 0 additions & 2 deletions src/stub/number-isfinite.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference lib="es2015.core" />

// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite#Polyfill
const NumberIsFinite: typeof Number.isFinite = Number.isFinite || function (x) {
return typeof x === 'number' && isFinite(x);
Expand Down
2 changes: 0 additions & 2 deletions src/stub/number-isinteger.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference lib="es2015.core" />

// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isInteger#Polyfill
const NumberIsInteger: typeof Number.isInteger = Number.isInteger || function (value) {
return typeof value === 'number'
Expand Down
2 changes: 0 additions & 2 deletions src/stub/number-isnan.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference lib="es2015.core" />

// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN#Polyfill
const NumberIsNaN: typeof Number.isNaN = Number.isNaN || function (x) {
// eslint-disable-next-line no-self-compare
Expand Down
2 changes: 0 additions & 2 deletions src/stub/symbol.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference lib="es2015.symbol" />

const SymbolPolyfill: (description?: string) => symbol
= typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol'
? Symbol
Expand Down
2 changes: 2 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
"moduleResolution": "node",
"lib": [
"es5",
"es2015.core",
"es2015.promise",
"es2015.symbol",
"es2015.symbol.wellknown",
"es2018.asynciterable"
],
"newLine": "lf",
Expand Down

0 comments on commit 8927bc6

Please # to comment.