| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | inferred_type.ts.json | 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)", 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 …]
|
| D | optional_library_types.ts.json | 24 "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 …]
|
| D | arkui_decorators.ts.json | 24 "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 …]
|
| D | array_literals.ts.json | 24 "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)",
|
| D | function_spread_arg.ts.json | 24 "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)",
|
| D | func_inferred_type_args.ts.json | 24 "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)",
|
| D | non_initializable_prop_decorators.ts.json | 24 "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)",
|
| D | types.ts.json | 24 "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 …]
|
| D | binary_wrong_types.ts.json | 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)",
|
| D | func_inferred_type_args.sts | 26 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>'
|
| D | property_access_by_index.ts.autofix.json | 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)",
|
| D | property_access_by_index.ts.json | 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)",
|
| D | type_declarations.ts.json | 24 "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)",
|
| D | stdlib_array.ts.json | 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)", 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)",
|
| D | stdlib_array.ts.arkts2.json | 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)", 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)",
|
| D | import_assertion.ts.json | 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)", 84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
|
| /arkcompiler/runtime_core/static_core/verification/ |
| D | verification.yaml | 26 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/ |
| D | rule8_3.ts.json | 24 "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)",
|
| D | rule8_6.ts.json | 24 "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)",
|
| D | rule8_6.sts | 17 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;
|
| D | rule149.ts.json | 142 "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 …]
|
| D | rule8_1.ts.json | 24 "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)",
|
| D | rule8_4.ts.json | 24 "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/ |
| D | recipe8.md | 1 # 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/ |
| D | expect_output.txt | 16 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
|