mirror of https://github.com/sveltejs/svelte
parent
08471dcc90
commit
d433056e96
@ -0,0 +1,13 @@
|
||||
/** @import { Context } from '../types' */
|
||||
import * as e from '../../../errors.js';
|
||||
|
||||
/**
|
||||
* @param {any} node
|
||||
* @param {Context} context
|
||||
*/
|
||||
export function PropertyDefinition(node, context) {
|
||||
// acorn plugin adds this field
|
||||
if (node.accessor) {
|
||||
e.typescript_invalid_feature(node, 'accessor fields (related TSC proposal is not stage 4 yet)');
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue