chore: a few style fixes for internal-ambient.d.ts (#26347)
This commit is contained in:
parent
43dbd1bdf8
commit
2c52d5fe42
1 changed files with 3 additions and 3 deletions
6
typings/internal-ambient.d.ts
vendored
6
typings/internal-ambient.d.ts
vendored
|
@ -227,7 +227,7 @@ declare namespace NodeJS {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
declare module NodeJS {
|
declare module NodeJS {
|
||||||
interface Global {
|
interface Global {
|
||||||
require: NodeRequire;
|
require: NodeRequire;
|
||||||
module: NodeModule;
|
module: NodeModule;
|
||||||
|
@ -319,7 +319,7 @@ interface ResizeObserverEntry {
|
||||||
// https://github.com/microsoft/TypeScript/pull/38232
|
// https://github.com/microsoft/TypeScript/pull/38232
|
||||||
|
|
||||||
interface WeakRef<T extends object> {
|
interface WeakRef<T extends object> {
|
||||||
readonly [Symbol.toStringTag]: "WeakRef";
|
readonly [Symbol.toStringTag]: 'WeakRef';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the WeakRef instance's target object, or undefined if the target object has been
|
* Returns the WeakRef instance's target object, or undefined if the target object has been
|
||||||
|
@ -341,7 +341,7 @@ interface WeakRefConstructor {
|
||||||
declare var WeakRef: WeakRefConstructor;
|
declare var WeakRef: WeakRefConstructor;
|
||||||
|
|
||||||
interface FinalizationRegistry {
|
interface FinalizationRegistry {
|
||||||
readonly [Symbol.toStringTag]: "FinalizationRegistry";
|
readonly [Symbol.toStringTag]: 'FinalizationRegistry';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Registers an object with the registry.
|
* Registers an object with the registry.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue