forked from storybookjs/marko
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypings.d.ts
More file actions
39 lines (37 loc) · 1.08 KB
/
typings.d.ts
File metadata and controls
39 lines (37 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
declare const STORYBOOK_ENV: "marko";
declare const LOGLEVEL:
| "trace"
| "debug"
| "info"
| "warn"
| "error"
| "silent"
| undefined;
// Empty import makes this file a module so "declare module" augments instead of replacing
import type {} from "storybook/internal/csf";
declare module "storybook/internal/csf" {
interface InputType {
/**
* **_[Marko]_**
*
* Indicates that this arg is [controllable](https://markojs.com/docs/explanation/controllable-components#the-controllable-pattern) via a `_Change` handler.
*
* For further customization, add a `_Change` argType manually
*/
controllable?: true;
/**
* **_[Marko]_**
*
* This arg may be passed as an [attribute tag](https://markojs.com/docs/reference/language#attribute-tags).
*
* The value acts as `argTypes` for this attribute tag.
*/
"@"?: Record<string, InputType>;
/**
* **_[Marko]_**
*
* Pass control text as [content](https://markojs.com/docs/reference/language#tag-content).
*/
bodyContent?: true | "text" | "html";
}
}