update messages

pull/14290/head
Rich Harris 2 years ago
parent e69c992343
commit 9b69a3b3f4

@ -973,19 +973,19 @@ A `<textarea>` can have either a value attribute or (equivalently) child content
### trace_rune_duplicate
```
`$track` must only be used once within the same block statement
`$inspect.trace` must only be used once within the same block statement
```
### trace_rune_invalid_argument
```
`$track` requires a string argument for the trace name
`$inspect.trace` requires a string argument for the trace name
```
### trace_rune_invalid_location
```
`$track` must be placed directly inside a block statement
`$inspect.trace` must be placed directly inside a block statement
```
### transition_conflict

@ -188,15 +188,15 @@ Using a `$` prefix to refer to the value of a store is only possible inside `.sv
## trace_rune_duplicate
> `$track` must only be used once within the same block statement
> `$inspect.trace` must only be used once within the same block statement
## trace_rune_invalid_argument
> `$track` requires a string argument for the trace name
> `$inspect.trace` requires a string argument for the trace name
## trace_rune_invalid_location
> `$track` must be placed directly inside a block statement
> `$inspect.trace` must be placed directly inside a block statement
## typescript_invalid_feature

@ -470,30 +470,30 @@ export function store_invalid_subscription_module(node) {
}
/**
* `$track` must only be used once within the same block statement
* `$inspect.trace` must only be used once within the same block statement
* @param {null | number | NodeLike} node
* @returns {never}
*/
export function trace_rune_duplicate(node) {
e(node, "trace_rune_duplicate", "`$track` must only be used once within the same block statement");
e(node, "trace_rune_duplicate", "`$inspect.trace` must only be used once within the same block statement");
}
/**
* `$track` requires a string argument for the trace name
* `$inspect.trace` requires a string argument for the trace name
* @param {null | number | NodeLike} node
* @returns {never}
*/
export function trace_rune_invalid_argument(node) {
e(node, "trace_rune_invalid_argument", "`$track` requires a string argument for the trace name");
e(node, "trace_rune_invalid_argument", "`$inspect.trace` requires a string argument for the trace name");
}
/**
* `$track` must be placed directly inside a block statement
* `$inspect.trace` must be placed directly inside a block statement
* @param {null | number | NodeLike} node
* @returns {never}
*/
export function trace_rune_invalid_location(node) {
e(node, "trace_rune_invalid_location", "`$track` must be placed directly inside a block statement");
e(node, "trace_rune_invalid_location", "`$inspect.trace` must be placed directly inside a block statement");
}
/**

Loading…
Cancel
Save