зеркало из https://github.com/electron/electron.git
chore: a few style fixes for internal-ambient.d.ts (#26347)
This commit is contained in:
Родитель
43dbd1bdf8
Коммит
2c52d5fe42
|
@ -227,7 +227,7 @@ declare namespace NodeJS {
|
|||
}
|
||||
}
|
||||
|
||||
declare module NodeJS {
|
||||
declare module NodeJS {
|
||||
interface Global {
|
||||
require: NodeRequire;
|
||||
module: NodeModule;
|
||||
|
@ -319,7 +319,7 @@ interface ResizeObserverEntry {
|
|||
// https://github.com/microsoft/TypeScript/pull/38232
|
||||
|
||||
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
|
||||
|
@ -341,7 +341,7 @@ interface WeakRefConstructor {
|
|||
declare var WeakRef: WeakRefConstructor;
|
||||
|
||||
interface FinalizationRegistry {
|
||||
readonly [Symbol.toStringTag]: "FinalizationRegistry";
|
||||
readonly [Symbol.toStringTag]: 'FinalizationRegistry';
|
||||
|
||||
/**
|
||||
* Registers an object with the registry.
|
||||
|
|
Загрузка…
Ссылка в новой задаче