Home / File/ errors.json — svelte Source File

errors.json — svelte Source File

Architecture documentation for errors.json, a json file in the svelte codebase.

Entity Profile

Source Code

[
	{
		"code": "typescript_invalid_feature",
		"message": "TypeScript language features like accessibility modifiers on constructor parameters are not natively supported, and their use is generally discouraged. Outside of `<script>` tags, these features are not supported. For use within `<script>` tags, you will need to use a preprocessor to convert it to JavaScript before it gets passed to the Svelte compiler. If you are using `vitePreprocess`, make sure to specifically enable preprocessing script tags (`vitePreprocess({ script: true })`)",
		"start": {
			"line": 3,
			"column": 14
		},
		"end": {
			"line": 3,
			"column": 31
		}
	}
]

Frequently Asked Questions

What does errors.json do?
errors.json is a source file in the svelte codebase, written in json.
Where is errors.json in the architecture?
errors.json is located at packages/svelte/tests/validator/samples/ts-unsupported-modifier/errors.json (directory: packages/svelte/tests/validator/samples/ts-unsupported-modifier).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free