Can't set schema in typedoc.json

This issue has been tracked since 2023-01-29.

"typedoc": "^0.23.24"

This typedoc.json isn't valid, but it should be:

{
	"$$schema": "https://json.schemastore.org/typedoc.json"
}

When running npx typedoc --entryPointStrategy packages . I get

error Tried to set an option ($$schema) that was not declared.

While this isn't part of the actual options, it would be nice to make an exception for this to provide cross-editor hints for this file.

A workaround for VSCode settings.json

{
	"json.schemas": [
		{
			"fileMatch": ["typedoc.json"],
			"url": "https://json.schemastore.org/typedoc.json"
		}
	]
}
Gerrit0 wrote this answer on 2023-02-02

There is an exception - the property is $schema, not $$schema

AlexAegis wrote this answer on 2023-02-02

Sorry for the noise! My bad

More Details About Repo
Owner Name TypeStrong
Repo Name typedoc
Full Name TypeStrong/typedoc
Language TypeScript
Created Date 2014-05-24
Updated Date 2023-03-19
Star Count 6487
Watcher Count 68
Fork Count 639
Issue Count 48

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date