Home
last modified time | relevance | path

Searched full:unknown (Results 1 – 25 of 546) sorted by relevance

12345678910>>...22

/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dinferred_type.ts.json34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
104 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
114 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
124 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
[all …]
Doptional_library_types.ts.json24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
114 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
124 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
144 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
164 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
[all …]
Darkui_decorators.ts.json24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
104 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
114 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
124 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
[all …]
Darray_literals.ts.json24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
104 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
114 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
124 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
Dfunction_spread_arg.ts.json24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
104 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
Dfunc_inferred_type_args.ts.json24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
104 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
124 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
154 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
174 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
Dnon_initializable_prop_decorators.ts.json24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
Dtypes.ts.json24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
114 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
214 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
224 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
334 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
354 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
404 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
[all …]
Dbinary_wrong_types.ts.json34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
Dfunc_inferred_type_args.sts26 let y = greet(); // T is 'unknown'
31 foo(); // K is 'unknown'
38 bar(); // T is 'unknown'
51 let set = new Set(); // Type argument of constructor is 'unknown'
56 let c = new C(); // T is 'unknown'
58 c = new C(bar()); // T is 'unknown[]'
59 c = new C(set); // T is 'Set<unknown>'
Dproperty_access_by_index.ts.autofix.json54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
Dproperty_access_by_index.ts.json54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
Dtype_declarations.ts.json24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
144 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
154 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
164 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
Dstdlib_array.ts.json34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
Dstdlib_array.ts.arkts2.json34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
Dimport_assertion.ts.json34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
/arkcompiler/runtime_core/static_core/verification/
Dverification.yaml26 unknown: Internal error.
106 _default: unknown
109 unknown:
117 unknown:
135 unknown:
153 unknown:
169 unknown:
185 unknown:
199 unknown:
213 unknown:
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/rules/
Drule8_3.ts.json24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
104 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
Drule8_6.ts.json24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
104 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
Drule8_6.sts17 public fooAttr: unknown;
24 public fooFunc(fooAttr: unknown) {
25 let xxxx: unknown;
32 protected fooAttr: unknown;
39 public fooFunc(fooAttr: unknown) {
40 let xxxx: unknown;
47 private fooAttr: unknown;
54 public fooFunc(fooAttr: unknown) {
55 let xxxx: unknown;
Drule149.ts.json142 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
152 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
162 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
172 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
182 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
192 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
202 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
212 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
222 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
232 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
[all …]
Drule8_1.ts.json24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
Drule8_4.ts.json24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe8.md1 # Use explicit types instead of ``any``, ``unknown``
3 Rule ``arkts-no-any-unknown``
7 ArkTS does not support the types ``any`` and ``unknown``. Specify
20 let value2 : unknown
/arkcompiler/ets_runtime/test/aottest/ts_inline_exception2/
Dexpect_output.txt16 at unknown (maybe inlined). depth: 3
17 at unknown (maybe inlined). depth: 2
18 at unknown (maybe inlined). depth: 1
19 at unknown (maybe inlined). depth: 0

12345678910>>...22