Lines Matching full:only
39 cookBookTag[16] = 'Only one static block is supported (arkts-no-multiple-static-blocks)';
45 …'Type notation using "this" is only supported for methods, that return "this" explicitly (arkts-th…
68 cookBookTag[43] = 'Array literals must contain elements of only inferrable types (arkts-no-noninfer…
76 cookBookTag[51] = 'Classes cannot be specified in "implements" clause (arkts-implements-only-iface)…
78 cookBookTag[53] = 'Only "as T" syntax is supported for type casts (arkts-as-casts)';
80 cookBookTag[55] = 'Unary operators "+", "-" and "~" work only on numbers (arkts-no-polymorphic-unop…
85 cookBookTag[60] = '"typeof" operator is allowed only in expression contexts (arkts-no-type-query)';
96 cookBookTag[71] = 'The comma operator "," is supported only in "for" loops (arkts-no-comma-outside-…
125 …'It is possible to spread only arrays or classes derived from arrays into the rest parameter or ar…
130 cookBookTag[104] = 'Interfaces cannot extend classes (arkts-extends-only-class)';
138 …'Enumeration members can be initialized only with compile time expressions of the same type (arkts…
188 cookBookTag[157] = 'Only imported variables can be captured by "Sendable" class (arkts-sendable-imp…
189 cookBookTag[158] = 'Only "@Sendable" decorator can be used on "Sendable" class (arkts-sendable-clas…
196 …'Importing a module for side-effects only is not supported in shared module (arkts-no-side-effects…
197 cookBookTag[163] = 'Only "Sendable" entities can be exported in shared module (arkts-shared-module-…
200 …'Only "Sendable" classes and "Sendable" interfaces are allowed for importing from ets into ts file…
212 …'Only imported variables can be captured by "Sendable" function (arkts-sendable-function-imported-…
213 cookBookTag[173] = 'Only "@Sendable" decorator can be used on "Sendable" function (arkts-sendable-f…
215 …'Only "@Sendable" decorator can be used on "Sendable" typeAlias (arkts-sendable-typeAlias-decorato…
216 cookBookTag[175] = 'Only "FunctionType" can declare "Sendable" typeAlias (arkts-sendable-typeAlias-…
218 …'Only "Sendable" function or "Sendable" typeAlias object can be assigned to "Sendable" typeAlias (…
225 …'The "@Sendable" decorator can only be used on "class", "function", "typeAlias" (arkts-sendable-de…