Options
All
  • Public
  • Public/Protected
  • All
Menu

Module types

Index

Type aliases

AnyFunction

AnyFunction: (...args: unknown[]) => unknown

Type declaration

    • (...args: unknown[]): unknown
    • Function type describing any kind of possible function

      Parameters

      • Rest ...args: unknown[]

      Returns unknown

ConstructorModuleTuple

ConstructorModuleTuple: [AnyFunction, ModuleLike]

Return type for the findConstructor method

ModuleLike

ModuleLike: string | number | AnyFunction | { default: unknown }[] | Record<string, unknown> | unknown[]

Type describing possible contents of Webpack modules

ModuleList

ModuleList: {[ key in string | number]: ModuleLike }

Type describing the list of modules

WebpackRequireFunction

WebpackRequireFunction: (key: string | number) => ModuleLike

Type declaration

    • Type describing the webpack_require function

      Parameters

      • key: string | number

      Returns ModuleLike

Generated using TypeDoc