Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
22
Frontend-Learner/node_modules/impound/dist/index.d.ts
generated
vendored
Normal file
22
Frontend-Learner/node_modules/impound/dist/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
import * as unplugin from 'unplugin';
|
||||
|
||||
interface ImpoundMatcherOptions {
|
||||
/** An array of patterns of importers to apply the import protection rules to. */
|
||||
include?: Array<string | RegExp>;
|
||||
/** An array of patterns of importers where the import protection rules explicitly do not apply. */
|
||||
exclude?: Array<string | RegExp>;
|
||||
/** Whether to throw an error or not. if set to `false`, an error will be logged to console instead. */
|
||||
error?: boolean;
|
||||
/** An array of patterns to prevent being imported, along with an optional warning to display. */
|
||||
patterns: [importPattern: string | RegExp | ((id: string) => boolean | string), warning?: string][];
|
||||
}
|
||||
interface ImpoundSharedOptions {
|
||||
cwd?: string;
|
||||
}
|
||||
type ImpoundOptions = (ImpoundSharedOptions & ImpoundMatcherOptions) | (ImpoundSharedOptions & {
|
||||
matchers: ImpoundMatcherOptions[];
|
||||
});
|
||||
declare const ImpoundPlugin: unplugin.UnpluginInstance<ImpoundOptions, boolean>;
|
||||
|
||||
export { ImpoundPlugin };
|
||||
export type { ImpoundMatcherOptions, ImpoundOptions, ImpoundSharedOptions };
|
||||
Loading…
Add table
Add a link
Reference in a new issue