Skip to content

Commit a873539

Browse files
committed
Fix up non-cyclic projects to use the new syntax
1 parent 8a6954a commit a873539

File tree

8 files changed

+16
-22
lines changed

8 files changed

+16
-22
lines changed

apps/rush-lib/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
/**
55
* A library for writing scripts that interact with the Rush tool.
6+
* @packagedocumentation
67
*/
7-
declare const packageDescription: void; // tslint:disable-line:no-unused-variable
88

99
export {
1010
ApprovedPackagesPolicy

core-build/test-web-library-build/config/api-extractor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"enabled": true,
33
"apiReviewFolder": "../../common/reviews/api",
44
"apiJsonFolder": "./temp",
5-
"entry": "src/test.ts"
5+
"entry": "lib/test.d.ts"
66
}

libraries/decorators/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
* of API contracts when using the TypeScript language. The intent is to better document
99
* expected behaviors and catch common mistakes. This package is not intended to be a
1010
* general toolkit of language extensions or helpful macros.
11+
* @packagedocumentation
1112
*/
12-
declare const packageDescription: void; // tslint:disable-line:no-unused-variable
1313

1414
export { virtual } from './virtual';
1515
export { sealed } from './sealed';

webpack/loader-load-themed-styles/config/api-extractor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"enabled": true,
33
"apiReviewFolder": "../../common/reviews/api",
44
"apiJsonFolder": "./temp",
5-
"entry": "src/LoadThemedStylesLoader.ts"
5+
"entry": "lib/LoadThemedStylesLoader.d.ts"
66
}

webpack/loader-load-themed-styles/src/LoadThemedStylesLoader.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
3-
* See LICENSE in the project root for license information.
4-
*/
1+
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
2+
// See LICENSE in the project root for license information.
53

64
/**
75
* This simple loader wraps the loading of CSS in script equivalent to
86
* require("load-themed-styles").loadStyles('... css text ...').
7+
* @packagedocumentation
98
*/
10-
declare const packageDescription: void; // tslint:disable-line:no-unused-variable
119

12-
import loaderUtils = require('loader-utils');
1310
import { loader } from 'webpack';
11+
import loaderUtils = require('loader-utils');
1412

1513
const loadedThemedStylesPath: string = require.resolve('@microsoft/load-themed-styles');
1614

webpack/resolve-chunk-plugin/config/api-extractor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"enabled": true,
33
"apiReviewFolder": "../../common/reviews/api",
44
"apiJsonFolder": "./temp",
5-
"entry": "src/index.ts"
5+
"entry": "lib/index.d.ts"
66
}
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
3-
* See LICENSE in the project root for license information.
4-
*/
1+
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
2+
// See LICENSE in the project root for license information.
53

64
/**
75
* This is a webpack plugin that looks for calls to `resolveChunk` with a chunk name, and returns the
8-
* chunk ID. It's useful for referencing a chunk without making webpack coalesce two chunks.
6+
* chunk ID. It's useful for referencing a chunk without making webpack coalesce two chunks.
7+
* @packagedocumentation
98
*/
10-
declare const packageDescription: void; // tslint:disable-line:no-unused-variable
119

1210
export * from './ResolveChunkPlugin';

webpack/set-webpack-public-path-plugin/src/index.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
3-
* See LICENSE in the project root for license information.
4-
*/
1+
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
2+
// See LICENSE in the project root for license information.
53

64
/**
75
* This simple plugin sets the `__webpack_public_path__` variable to
86
* a value specified in the arguments, optionally appended to the SystemJs baseURL
97
* property.
8+
* @packagedocumentation
109
*/
11-
declare const packageDescription: void; // tslint:disable-line:no-unused-variable
1210

1311
export * from './SetPublicPathPlugin';
1412
export {

0 commit comments

Comments
 (0)