type Plugin should be JSPlugin
See original GitHub issue(Edited I provided more info)
(edited) Should be JSSPlugin
(edited) corrected for versions, the jss plugin used, the jss, and the @types/jss
- All installation was with
npm
without explicitly specifiying any versions - It jss plugins, jss itself, and the typescript decl
@types/jss
were all installed in the same time
jss-plugin-camel-case
Used npm i --save jss-plugin-camel-case
to install it, no explicit version specified
Looking in the node_modules
it installs version “10.0.0-alpha.7”
The typescript index.d.ts of the jss-plugin-camel-case
import {Plugin} from 'jss'
export default function jssPluginSyntaxNested(): Plugin
Versions (please complete the following information):
- @types/jss: version “9.5.8”
- jss: version “9.8.7”
- jss-plugin-camel-case: version “10.0.0-alpha.7”
- Browser: chrome
- OS: Windows
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Gradle 6.0.1 Build Failed · Issue #177 · eriwen/gradle-js-plugin
today gradle 5.6.2 to 6.0.1 upgrade but 6.0.1 build fail a plugin * What went ... Could not create an instance of type...
Read more >Video.js Plugins
One of the great strengths of Video.js is its ecosystem of plugins that allow authors from all over the world to share their...
Read more >Create a Custom Vue.js Plugin in < 1 Hour [Code Included]
Vue.js plugins are essential for developers working with this JS framework. This post explains what they are, and how to craft a ...
Read more >How to apply the gradle js plugin
Hi guys, I'm new here to the forum and to Gradle. So I am a complete beginner when it comes to gradle. We...
Read more >Plugins - Vue.js
js plugins, we will create a very simplified version of a plugin that displays i18n (short for Internationalization) strings. Let's begin by setting...
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
Just do
npm install jss@next
and remove the@types/jss
dependencyOk, works
I also noticed the new jss.create({ plugins }) needs an array of type plugins instead of functions creating plugins
(options:Options) => Plugin