Lines Matching full:only
22 "The 'readonly' modifier can only appear on a property declaration or index signature.": {
86 "Only a single variable declaration is allowed in a 'for...in' statement.": {
102 "A 'continue' statement can only be used within an enclosing iteration statement.": {
106 "A 'break' statement can only be used within an enclosing iteration or switch statement.": {
114 "A 'return' statement can only be used within a function body.": {
126 "A 'continue' statement can only jump to a label of an enclosing iteration statement.": {
130 "A 'break' statement can only jump to a label of an enclosing statement.": {
170 "The 'const' declarations can only be declared inside a block.": {
178 "The 'let' declarations can only be declared inside a block.": {
190 "A 'yield' expression is only allowed in a generator body.": {
202 "Classes can only extend a single class.": {
226 "Only a single variable declaration is allowed in a 'for...of' statement.": {
282 "An import declaration can only be used in a namespace or module.": {
286 "An export declaration can only be used in a module.": {
290 "The 'abstract' modifier can only appear on a class, method, or property declaration.": {
298 "Abstract methods can only appear within an abstract class.": {
306 "A decorator can only decorate a method implementation, not an overload.": {
338 "await expressions are only allowed within async functions and at the top levels of modules.": {
342 …"Did you mean to use a ':'? An '=' can only follow a property name when the containing object lite…
350 "A default export can only be used in an ECMAScript-style module.": {
366 … "Dynamic imports can only accept a module specifier, optional assertion is not supported yet.": {
386 "The 'super' can only be referenced in a derived class.": {
398 …"The 'super' property access is permitted only in a constructor, member function, or member access…
478 …"The 'super' can only be referenced in members of derived classes or object literal expressions.":…
482 "Cannot export '{0}'. Only local declarations can be exported from a module.": {
511 …"Meta-property '{0}' is only allowed in the body of a function declaration, function expression, o…
527 "In strict mode code, functions can only be declared at top level or inside a block.": {
531 "Class Declaration can only be declared at top level or inside a block.": {