Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
10
Frontend-Learner/node_modules/unstorage/drivers/utils/index.d.cts
generated
vendored
Normal file
10
Frontend-Learner/node_modules/unstorage/drivers/utils/index.d.cts
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import type { Driver } from "../..";
|
||||
type DriverFactory<OptionsT, InstanceT> = (opts: OptionsT) => Driver<OptionsT, InstanceT>;
|
||||
interface ErrorOptions {
|
||||
}
|
||||
export declare function defineDriver<OptionsT = any, InstanceT = never>(factory: DriverFactory<OptionsT, InstanceT>): DriverFactory<OptionsT, InstanceT>;
|
||||
export declare function normalizeKey(key: string | undefined, sep?: ":" | "/"): string;
|
||||
export declare function joinKeys(...keys: string[]): string;
|
||||
export declare function createError(driver: string, message: string, opts?: ErrorOptions): Error;
|
||||
export declare function createRequiredError(driver: string, name: string | string[]): Error;
|
||||
export {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue