typescript-sdk

Home > @3rdweb/sdk > convertNameToModuleType

convertNameToModuleType() function

Signature:

export declare function convertNameToModuleType(moduleName?: string): ModuleType | undefined;

Parameters

Parameter Type Description
moduleName string a supported module name

Returns:

ModuleType | undefined

The ModuleType or undefined