File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,16 @@ const errorCodes: readonly number[] = [
163
163
Diagnostics . _0_only_refers_to_a_type_but_is_being_used_as_a_value_here . code ,
164
164
Diagnostics . No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer . code ,
165
165
Diagnostics . _0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type . code ,
166
+ Diagnostics . Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery . code ,
167
+ Diagnostics . Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later . code ,
168
+ Diagnostics . Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom . code ,
169
+ Diagnostics . Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig . code ,
170
+ Diagnostics . Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function . code ,
171
+ Diagnostics . Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig . code ,
172
+ Diagnostics . Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha . code ,
173
+ Diagnostics . Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode . code ,
174
+ Diagnostics . Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig . code ,
175
+ Diagnostics . Cannot_find_namespace_0_Did_you_mean_1 . code ,
166
176
] ;
167
177
168
178
registerCodeFix ( {
Original file line number Diff line number Diff line change
1
+ /// <reference path="fourslash.ts" />
2
+
3
+ // @module : esnext
4
+ // @moduleResolution : bundler
5
+
6
+ // @Filename : /node_modules/qwik/index.d.ts
7
+ //// export declare const $: any;
8
+
9
+ // @Filename : /index.ts
10
+ //// import {} from "qwik";
11
+ //// $/**/
12
+
13
+ goTo . marker ( "" ) ;
14
+ verify . importFixAtPosition ( [ `import { $ } from "qwik";
15
+ $` ] ) ;
You can’t perform that action at this time.
0 commit comments