Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions _tools/check_docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,7 @@ function assertClassDocs(document: DocNodeWithJsDoc<DocNodeClass>) {
for (const typeParam of document.classDef.typeParams) {
assertHasTypeParamTags(document, typeParam.name);
}
if (!document.jsDoc.tags?.some((tag) => tag.kind === "example")) {
assertHasExampleTag(document);
}
assertHasExampleTag(document);

for (const property of document.classDef.properties) {
if (property.jsDoc === undefined) continue; // this is caught by `deno doc --lint`
Expand Down
2 changes: 1 addition & 1 deletion async/unstable_semaphore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface Node {
* @experimental **UNSTABLE**: New API, yet to be vetted.
*
* @example Usage
* ```ts
* ```ts no-assert
* import { Semaphore } from "@std/async/unstable-semaphore";
*
* const sem = new Semaphore(2);
Expand Down
1 change: 1 addition & 0 deletions cli/unstable_progress_bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ function clamp(value: number, min: number, max: number) {
* }
*
* await bar.stop();
* ```
*/
export class ProgressBar {
/**
Expand Down
2 changes: 1 addition & 1 deletion internal/assertion_state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Check the test suite internal state
*
* @example Usage
* ```ts
* ```ts no-assert
* import { AssertionState } from "@std/internal";
*
* const assertionState = new AssertionState();
Expand Down
2 changes: 1 addition & 1 deletion streams/unstable_capped_delimiter_stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export interface CappedDelimiterOptions {
* intermediate chunks instead of waiting for the entire message or risking
* excessive memory usage.
*
* @example
* @example Usage
* ```ts
* import { assertEquals } from "@std/assert";
* import {
Expand Down
Loading