File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
tests/cases/fourslash/server Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ /// <reference path="../fourslash.ts"/>
2
+
3
+ // @Filename : tsconfig.json
4
+ //// {
5
+ //// "compilerOptions": {
6
+ //// "allowNonTsExtensions": true,
7
+ //// "plugins": [
8
+ //// { "name": "mock-vue" }
9
+ //// ]
10
+ //// },
11
+ //// "files": ["a.vue"]
12
+ //// }
13
+
14
+ // Note: This test does *not* implement the correct vue transformation.
15
+ // So it's other.data.property, not other.property or other.$data.property
16
+ // @Filename : other.vue
17
+ ////<template>
18
+ ////</template>
19
+ ////<script>
20
+ ////export default {
21
+ //// data: { property: "Example" }
22
+ //// }
23
+ ////</script>
24
+ ////<style>
25
+ ////</style>
26
+
27
+
28
+ // @Filename : a.vue
29
+ ////<template>
30
+ ////</template>
31
+ ////<script>
32
+ ////import other from './other.vue'
33
+ //// other.data.property/**/
34
+ ////export default {
35
+ //// data: { greeting: "Hello" }
36
+ //// }
37
+ ////</script>
38
+ ////<style>
39
+ ////</style>
40
+
41
+ // LS shouldn't crash/fail if a plugin fails to init correctly
42
+ goTo . marker ( ) ;
43
+ verify . quickInfoIs ( '(property) property: string' ) ;
44
+ verify . numberOfErrorsInCurrentFile ( 0 ) ;
You can’t perform that action at this time.
0 commit comments