WasmFeatureDetectors: {
    bigInt: () => Promise<boolean>;
    bulkMemory: () => Promise<boolean>;
    exceptions: () => Promise<boolean>;
    extendedConst: () => Promise<boolean>;
    gc: () => Promise<boolean>;
    memory64: () => Promise<boolean>;
    multiValue: () => Promise<boolean>;
    mutableGlobals: () => Promise<boolean>;
    referenceTypes: () => {
        "[species]": PromiseConstructor;
        prototype: Promise<any>;
        all<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>[]>;
        all<T extends readonly unknown[] | []>(
            values: T,
        ): Promise<
            { -readonly [P in string
            | number
            | symbol]: Awaited<T[P<P>]> },
        >;
        allSettled<T extends readonly unknown[] | []>(
            values: T,
        ): Promise<
            {
                -readonly [P in string
                | number
                | symbol]: PromiseSettledResult<Awaited<T[P<P>]>>
            },
        >;
        allSettled<T>(
            values: Iterable<T | PromiseLike<T>>,
        ): Promise<PromiseSettledResult<Awaited<T>>[]>;
        any<T extends readonly unknown[] | []>(
            values: T,
        ): Promise<Awaited<T[number]>>;
        any<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>>;
        race<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>>;
        race<T extends readonly unknown[] | []>(
            values: T,
        ): Promise<Awaited<T[number]>>;
        reject<T = never>(reason?: any): Promise<T>;
        resolve(): Promise<void>;
        resolve<T>(value: T): Promise<Awaited<T>>;
        resolve<T>(value: T | PromiseLike<T>): Promise<Awaited<T>>;
        withResolvers<T>(): PromiseWithResolvers<T>;
        new (
            executor: (
                resolve: (value: boolean | PromiseLike<boolean>) => void,
                reject: (reason?: any) => void,
            ) => void,
        ): Promise<boolean>;
    };
    relaxedSimd: () => Promise<boolean>;
    saturatedFloatToInt: () => Promise<boolean>;
    signExtensions: () => Promise<boolean>;
    simd: () => Promise<boolean>;
    streamingCompilation: () => Promise<boolean>;
    tailCall: () => Promise<boolean>;
    threads: () => Promise<boolean>;
} = ...

Type declaration

  • ReadonlybigInt: () => Promise<boolean>
  • ReadonlybulkMemory: () => Promise<boolean>
  • Readonlyexceptions: () => Promise<boolean>
  • ReadonlyextendedConst: () => Promise<boolean>
  • Readonlygc: () => Promise<boolean>
  • Readonlymemory64: () => Promise<boolean>
  • ReadonlymultiValue: () => Promise<boolean>
  • ReadonlymutableGlobals: () => Promise<boolean>
  • ReadonlyreferenceTypes: () => {
        "[species]": PromiseConstructor;
        prototype: Promise<any>;
        all<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>[]>;
        all<T extends readonly unknown[] | []>(
            values: T,
        ): Promise<{ -readonly [P in string | number | symbol]: Awaited<T[P<P>]> }>;
        allSettled<T extends readonly unknown[] | []>(
            values: T,
        ): Promise<
            {
                -readonly [P in string
                | number
                | symbol]: PromiseSettledResult<Awaited<T[P<P>]>>
            },
        >;
        allSettled<T>(
            values: Iterable<T | PromiseLike<T>>,
        ): Promise<PromiseSettledResult<Awaited<T>>[]>;
        any<T extends readonly unknown[] | []>(
            values: T,
        ): Promise<Awaited<T[number]>>;
        any<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>>;
        race<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>>;
        race<T extends readonly unknown[] | []>(
            values: T,
        ): Promise<Awaited<T[number]>>;
        reject<T = never>(reason?: any): Promise<T>;
        resolve(): Promise<void>;
        resolve<T>(value: T): Promise<Awaited<T>>;
        resolve<T>(value: T | PromiseLike<T>): Promise<Awaited<T>>;
        withResolvers<T>(): PromiseWithResolvers<T>;
        new (
            executor: (
                resolve: (value: boolean | PromiseLike<boolean>) => void,
                reject: (reason?: any) => void,
            ) => void,
        ): Promise<boolean>;
    }
  • ReadonlyrelaxedSimd: () => Promise<boolean>
  • ReadonlysaturatedFloatToInt: () => Promise<boolean>
  • ReadonlysignExtensions: () => Promise<boolean>
  • Readonlysimd: () => Promise<boolean>
  • ReadonlystreamingCompilation: () => Promise<boolean>
  • ReadonlytailCall: () => Promise<boolean>
  • Readonlythreads: () => Promise<boolean>