Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TxFunction

interface TxFunction {
(...classes: Class[]): string;
(strings: TemplateStringsArray, ...interpolations: readonly Class[]): string;
apply(thisArg: ((tokens: string) => string) | undefined | void, classes: Class[] | [TemplateStringsArray, readonly Class[]]): string;
bind(thisArg?: ((tokens: string) => string) | undefined | void): TxFunction;
call(thisArg: ((tokens: string) => string) | undefined | void, ...classes: Class[]): string;
call(
thisArg: ((tokens: string) => string) | undefined | void,
strings: TemplateStringsArray,
...interpolations: readonly Class[],
): string;
}

§Call Signatures

§
(...classes: Class[]): string
[src]
§
(strings: TemplateStringsArray, ...interpolations: readonly Class[]): string
[src]

§Methods

§
apply(thisArg: ((tokens: string) => string) | undefined | void, classes: Class[] | [TemplateStringsArray, readonly Class[]]): string
[src]
§
bind(thisArg?: ((tokens: string) => string) | undefined | void): TxFunction
[src]
§
call(thisArg: ((tokens: string) => string) | undefined | void, ...classes: Class[]): string
[src]
§
call(
thisArg: ((tokens: string) => string) | undefined | void,
strings: TemplateStringsArray,
...interpolations: readonly Class[],
): string
[src]