chore: a few style fixes for internal-ambient.d.ts (#26347)

This commit is contained in:
David Sanders 2020-11-05 14:13:02 -08:00 committed by GitHub
parent 43dbd1bdf8
commit 2c52d5fe42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.