Skip to content

Commit

Permalink
fix: jsdoc formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
BelfordZ committed Jun 27, 2020
1 parent c8d6b34 commit 9d4f832
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ export interface DereferencerOptions {
* @example
* ```typescript
*
*import Dereferencer, { NonStringRefError } from "@json-schema-tools/dereferencer";
* import Dereferencer, { NonStringRefError } from "@json-schema-tools/dereferencer";
*
*try { const dereffer = new Dereferencer({}); }
*catch(e) {
* if (e instanceof NonStringRefError) { ... }
*}
* try { const dereffer = new Dereferencer({}); }
* catch(e) {
* if (e instanceof NonStringRefError) { ... }
* }
* ```
*
*/
Expand Down Expand Up @@ -76,12 +76,12 @@ export class NonStringRefError extends Error {
* @example
* ```typescript
*
*import Dereferencer, { NonJsonRefError } from "@json-schema-tools/dereferencer";
*const dereffer = new Dereferencer({});
*try { await dereffer.resolve(); }
*catch(e) {
* if (e instanceof NonJsonRefError) { ... }
*}
* import Dereferencer, { NonJsonRefError } from "@json-schema-tools/dereferencer";
* const dereffer = new Dereferencer({});
* try { await dereffer.resolve(); }
* catch(e) {
* if (e instanceof NonJsonRefError) { ... }
* }
* ```
*
*/
Expand All @@ -103,12 +103,12 @@ export class NonJsonRefError extends Error {
* @example
* ```typescript
*
*import Dereferencer, { InvalidJsonPointerRefError } from "@json-schema-tools/dereferencer";
*const dereffer = new Dereferencer({});
*try { await dereffer.resolve(); }
*catch(e) {
* if (e instanceof InvalidJsonPointerRefError) { ... }
*}
* import Dereferencer, { InvalidJsonPointerRefError } from "@json-schema-tools/dereferencer";
* const dereffer = new Dereferencer({});
* try { await dereffer.resolve(); }
* catch(e) {
* if (e instanceof InvalidJsonPointerRefError) { ... }
* }
* ```
*
*/
Expand All @@ -129,12 +129,12 @@ export class InvalidJsonPointerRefError extends Error {
* @example
* ```typescript
*
*import Dereferencer, { InvalidFileSystemPathError } from "@json-schema-tools/dereferencer";
*const dereffer = new Dereferencer({});
*try { await dereffer.resolve(); }
*catch(e) {
* if (e instanceof InvalidFileSystemPathError) { ... }
*}
* import Dereferencer, { InvalidFileSystemPathError } from "@json-schema-tools/dereferencer";
* const dereffer = new Dereferencer({});
* try { await dereffer.resolve(); }
* catch(e) {
* if (e instanceof InvalidFileSystemPathError) { ... }
* }
* ```
*
*/
Expand Down

0 comments on commit 9d4f832

Please sign in to comment.