Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F83203870
index.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Sep 15, 18:21
Size
524 B
Mime Type
text/x-java
Expires
Tue, Sep 17, 18:21 (2 d)
Engine
blob
Format
Raw Data
Handle
20804419
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
index.d.ts
View Options
import { ConfigAPI, NodePath, types } from '@babel/core';
interface Attribute {
name: string;
value?: boolean | number | string | null;
spread?: boolean;
literal?: boolean;
position?: 'start' | 'end';
}
interface Options {
elements: string[];
attributes: Attribute[];
}
declare const addJSXAttribute: (_: ConfigAPI, opts: Options) => {
visitor: {
JSXOpeningElement(path: NodePath<types.JSXOpeningElement>): void;
};
};
export { Attribute, Options, addJSXAttribute as default };
Event Timeline
Log In to Comment