File tree 2 files changed +5
-6
lines changed
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ Contributions and feedback are welcome and encouraged. Check out our [contributi
59
59
### Development
60
60
61
61
1 . Run ` npm install `
62
- 1 . Run ` npm build `
62
+ 1 . Run ` npm run build `
63
63
1 . Run the tests using ` npm test `
64
64
65
65
## Code of conduct
Original file line number Diff line number Diff line change
1
+ import type Func from './ast/function' ;
1
2
import type Node from './ast/node' ;
2
- import type Function from './ast/function' ;
3
3
import type Tag from './ast/tag' ;
4
4
5
- export type { default as Function } from './ast/function' ;
6
- export type { default as Node } from './ast/node' ;
7
- export type { default as Tag } from './ast/tag' ;
5
+ export type { Node , Tag } ;
6
+ export declare type Function = Func ;
8
7
9
8
export interface AstType {
10
9
readonly $$mdtype : 'Function' | 'Node' | 'Variable' ;
@@ -34,7 +33,7 @@ export type ConfigFunction = {
34
33
returns ?: ValidationType | ValidationType [ ] ;
35
34
parameters ?: Record < string , SchemaAttribute > ;
36
35
transform ?( parameters : Record < string , any > , config : Config ) : any ;
37
- validate ?( fn : Function , config : Config ) : ValidationError [ ] ;
36
+ validate ?( fn : Func , config : Config ) : ValidationError [ ] ;
38
37
} ;
39
38
40
39
export interface CustomAttributeTypeInterface {
You can’t perform that action at this time.
0 commit comments