Skip to content

Commit 1f53995

Browse files
committed
Remove the experimental IPackageJsonTsdocConfiguration API because it is no longer used
1 parent 571ab59 commit 1f53995

File tree

4 files changed

+1
-30
lines changed

4 files changed

+1
-30
lines changed

common/reviews/api/node-core-library.api.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,6 @@ export interface INodePackageJson {
290290
repository?: string;
291291
scripts?: IPackageJsonScriptTable;
292292
// @beta
293-
tsdoc?: IPackageJsonTsdocConfiguration;
294-
// @beta
295293
tsdocMetadata?: string;
296294
types?: string;
297295
typings?: string;
@@ -327,11 +325,6 @@ export interface IPackageJsonScriptTable {
327325
[scriptName: string]: string;
328326
}
329327

330-
// @beta
331-
export interface IPackageJsonTsdocConfiguration {
332-
tsdocFlavor?: string;
333-
}
334-
335328
// @public
336329
export interface IParsedPackageName {
337330
scope: string;

libraries/node-core-library/src/IPackageJson.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,6 @@ export interface IPackageJsonScriptTable {
2727
[scriptName: string]: string;
2828
}
2929

30-
/**
31-
* This interface is part of the IPackageJson file format. It is used for the
32-
* "tsdoc" field.
33-
* @beta
34-
*/
35-
export interface IPackageJsonTsdocConfiguration {
36-
/**
37-
* A token indicating the dialect of TSDoc syntax used by *.d.ts files in this
38-
* package.
39-
*/
40-
tsdocFlavor?: string;
41-
}
42-
4330
/**
4431
* An interface for accessing common fields from a package.json file whose version field may be missing.
4532
*
@@ -112,13 +99,6 @@ export interface IPackageJsonTsdocConfiguration {
11299
*/
113100
typings?: string;
114101

115-
/**
116-
* Describes the documentation comment syntax used for the *.d.ts files
117-
* exposed by this package.
118-
* @beta
119-
*/
120-
tsdoc?: IPackageJsonTsdocConfiguration;
121-
122102
/**
123103
* The path to the TSDoc metadata file.
124104
* This is still being standardized: https://github.com/Microsoft/tsdoc/issues/7#issuecomment-442271815

libraries/node-core-library/src/PackageJsonLookup.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,6 @@ export class PackageJsonLookup {
255255
packageJson.private = loadedPackageJson.private;
256256
packageJson.scripts = loadedPackageJson.scripts;
257257
packageJson.typings = loadedPackageJson.typings || loadedPackageJson.types;
258-
packageJson.tsdoc = loadedPackageJson.tsdoc;
259258
packageJson.tsdocMetadata = loadedPackageJson.tsdocMetadata;
260259
packageJson.version = loadedPackageJson.version;
261260
}

libraries/node-core-library/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ export {
2222
INodePackageJson,
2323
IPackageJson,
2424
IPackageJsonDependencyTable,
25-
IPackageJsonScriptTable,
26-
IPackageJsonTsdocConfiguration
25+
IPackageJsonScriptTable
2726
} from './IPackageJson';
2827
export { InternalError } from './InternalError';
2928
export {

0 commit comments

Comments
 (0)