Home
last modified time | relevance | path

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

12345678910>>...21

/arkcompiler/ets_frontend/ets2panda/linter/test/
Dinferred_type.ts.json29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
50 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
57 "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)"
71 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
78 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
85 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
92 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
[all …]
Darkui_decorators.ts.json22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
50 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
57 "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)"
71 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
78 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
85 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
92 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
[all …]
Darray_literals.ts.json22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
50 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
57 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
71 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
78 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
85 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
92 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
Dfunc_inferred_type_args.ts.json22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
57 "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)"
78 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
92 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
113 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
127 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
Dnon_initializable_prop_decorators.ts.json22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
50 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
57 "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)"
Dtypes.ts.json22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
36 "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)"
71 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
85 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
155 "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)"
239 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
253 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
288 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
[all …]
Dbinary_wrong_types.ts.json29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
Dtypes.ts.autofix.json22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
83 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
90 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
111 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
201 "replacementText": "interface Dictionary {\n [key: string]: unknown;\n}"
219 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
226 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
358 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
379 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
[all …]
Dtype_declarations.ts.json22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
106 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
113 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
120 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
Dproperty_access_by_index.ts.json43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
50 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
57 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
Dproperty_access_by_index.ts.autofix.json47 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
55 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
63 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
Dimport_assertion.ts.json29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
43 "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)"
Dfunctions.ts.json29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
57 "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)"
71 "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>'
Dprototype_assignment.ts.json43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
78 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
113 "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)"
169 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
/arkcompiler/ets_frontend/ets2panda/linter/test_rules/
Drule8_6.ts.json22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
50 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
57 "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)"
71 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
78 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
Drule8_3.ts.json22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
50 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
57 "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)"
71 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
78 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
Drule149.ts.json104 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
111 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
118 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
125 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
132 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
139 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
146 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
153 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
160 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
167 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
[all …]
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;
Drule8_4.ts.json22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
Drule8_1.ts.json22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
Drule5.ts.json253 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
260 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
267 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
281 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
295 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
309 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
323 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
330 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
337 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
393 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
[all …]
/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/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>>...21