You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function(callback: mixed,callerName: string){if(callback===null||typeofcallback==='function'){return;}constkey=`${callerName}_${(callback: any)}`;if(!didWarnOnInvalidCallback[key]){warning(false,'%s(...): Expected the last optional `callback` argument to be a '+'function. Instead received: %s.',callerName,callback,);didWarnOnInvalidCallback[key]=true;}};
Filename and Language selected
Using .js extension with JavaScript file type selected
Screenshot
Versions used
VSCode version: 1.20.1
OS Version: macOS 10.13.3
The text was updated successfully, but these errors were encountered:
The syntax ````${callerName}_${(callback: any)}`;``` is not a valid javascript or typescript which is what this repo supports for colorizing. You would need to have special tmLanguage to colorize this portion correctly.
From akamud/vscode-theme-onedark#87
Sample code
Extract from https://github.com/facebook/react/blob/master/packages/react-reconciler/src/ReactFiberClassComponent.js#L65
Filename and Language selected
Using
.js
extension withJavaScript
file type selectedScreenshot
Versions used
The text was updated successfully, but these errors were encountered: