|
|
|
|
@ -4,6 +4,6 @@ export default test({
|
|
|
|
|
error: {
|
|
|
|
|
code: 'invalid-state-location',
|
|
|
|
|
message: '$state() can only be used as a variable declaration initializer or a class field',
|
|
|
|
|
position: [33, 41]
|
|
|
|
|
position: process.platform === 'win32' ? [35, 43] : [33, 41]
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|