Export `IOptions` type from the plugin
See original GitHub issueHello!
Thank you for this great plugin!
However, right now, typing declarations are only exporting the plugin function, but not the other useful symbols, like options (i.e. IOptions
).
The generated typing declarations are looking like this right now:
declare const typescript: PluginImpl<Partial<IOptions>>;
export default typescript;
As you can see you can’t import IOptions
type directly from it. This makes advanced usage of the plugin harder.
export { IOptions }
should fix it in the index.ts
.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Export and import WordPress Options - GitHub
Activate the plugin through the 'Plugins' menu in WordPress 3. Navigate to **Tools → Export** and choose "Settings" to export options, or navigate...
Read more >wp export | WP-CLI Command
Exports WordPress content to a WXR file. Generates one or more WXR files containing authors, terms, posts, comments, and attachments. WXR files do...
Read more >Building a settings import and export feature - Pippin's Plugins
A feature you will often see large plugins provide is the ability to import and export their settings, making it much easier to...
Read more >WordPress Export Settings - WP All Import
To change the settings of an existing export, go to Manage Exports › Export Settings. You can change the filtering options, scheduling options,...
Read more >Export Options - ShapeDiver Help Center
The ShapeDiver plugin comes with several new primitives added to ... The available export options for each supported file type do not always...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure, committed, could you try using github version directly (point npm at it, you should see
0.26.1
printed during build) and let me know if it does what you expect it to do?In 0.27.0 now