We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 714ced1 commit 4171546Copy full SHA for 4171546
2 files changed
doc/api/typescript.md
@@ -10,6 +10,8 @@ changes:
10
description: Added `--experimental-transform-types` flag.
11
-->
12
13
+<!--introduced_in=v23.6.0-->
14
+
15
> Stability: 1.1 - Active development
16
17
## Enabling
tools/lint-md/lint-md.mjs
@@ -34,6 +34,14 @@ paths.forEach(async (path) => {
34
const fileContents = file.toString();
35
const result = await linter.process(file);
36
const isDifferent = fileContents !== result.toString();
37
38
+ if (path.startsWith('doc/api/')) {
39
+ if (!fileContents.includes('introduced_in')) {
40
+ console.error(`${path} is missing an 'introduced_in' version. Please add one.`);
41
+ process.exitCode = 1;
42
+ }
43
44
45
if (format) {
46
if (isDifferent) {
47
fs.writeFileSync(path, result.toString());
0 commit comments