16 lines
No EOL
960 B
Text
16 lines
No EOL
960 B
Text
==== tests/cases/conformance/parser/ecmascript5/parserArgumentList1.ts (3 errors) ====
|
|
export function removeClass (node:HTMLElement, className:string) {
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
~~~~~~~~~~~
|
|
!!! Cannot find name 'HTMLElement'.
|
|
node.className = node.className.replace(_classNameRegexp(className), function (everything, leftDelimiter, name, rightDelimiter) {
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
~~~~~~~~~~~~~~~~
|
|
!!! Cannot find name '_classNameRegexp'.
|
|
return leftDelimiter.length + rightDelimiter.length === 2 ? ' ' : '';
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
});
|
|
~~~~
|
|
}
|
|
~
|
|
!!! Cannot compile external modules unless the '--module' flag is provided. |