Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Jun 22, 2024
1 parent 828dfd4 commit 60df156
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 12 deletions.
6 changes: 3 additions & 3 deletions dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"dist-deno"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.88.6.wasm",
"https://plugins.dprint.dev/json-0.19.1.wasm",
"https://plugins.dprint.dev/markdown-0.16.3.wasm"
"https://plugins.dprint.dev/typescript-0.91.1.wasm",
"https://plugins.dprint.dev/json-0.19.3.wasm",
"https://plugins.dprint.dev/markdown-0.17.1.wasm"
]
}
5 changes: 2 additions & 3 deletions packages/scripts/utils/Memoize.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/** Decorator for memoizing the result of a method. */
export function Memoize(target: (...args: any[]) => void) {
if (target instanceof Function) {
if (target instanceof Function)
return getNewFunction(target);
} else {
else
throw new Error("Not implemented.");
}
}

const weakMap = new WeakMap<object, Map<string, unknown>>();
Expand Down
2 changes: 1 addition & 1 deletion packages/ts-morph/breaking-changes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Breaking Changes
# Breaking Changes

View [CHANGELOG.md](CHANGELOG.md) for more detail on releases. This file is only a high level overview of breaking changes.

Expand Down
2 changes: 1 addition & 1 deletion packages/ts-morph/readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ts-morph
# ts-morph

[![npm version](https://badge.fury.io/js/ts-morph.svg)](https://badge.fury.io/js/ts-morph)
[![CI](https://github.com/dsherret/ts-morph/workflows/CI/badge.svg)](https://github.com/dsherret/ts-morph/actions?query=workflow%3ACI)
Expand Down
2 changes: 1 addition & 1 deletion packages/ts-morph/scripts/readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Scripts
# Scripts

This folder contains the code that verifies, manipulates, and generates code for ts-morph.
2 changes: 1 addition & 1 deletion packages/ts-morph/src/manipulation/readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Manipulation
# Manipulation

In this folder, most of the code is for changing the text and replacing an old tree with the new one.

Expand Down
2 changes: 1 addition & 1 deletion packages/ts-morph/src/next-major-deprecations.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Deprecations in the next major
# Deprecations in the next major

- None
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class Identifier extends Other {
const structure: OptionalKindAndTrivia<MakeRequired<ClassDeclarationSpecificStructure & ClassLikeDeclarationBaseSpecificStructure>> = {
extends: "Other",
ctors: [{}],
staticBlocks: [{ statements: ["test;"]}],
staticBlocks: [{ statements: ["test;"] }],
properties: [{ name: "p" }],
getAccessors: [{ name: "g" }],
setAccessors: [{ name: "s", parameters: [{ name: "value", type: "string" }] }],
Expand Down

0 comments on commit 60df156

Please sign in to comment.