Skip to content

Commit 9010c20

Browse files
committed
chore: fix comment
1 parent 7cd68af commit 9010c20

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/vscode-js-profile-core/src/heap/heapProfileAnnotations.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export interface IProfileInformation {
2020
*/
2121
export class HeapProfileAnnotations extends ProfileAnnotations<IProfileInformation, ITreeNode> {
2222
/**
23-
* Adds a new code lens at the given location in the file.
23+
* Adds a new code lens at the given treeNode in the file.
2424
*/
2525
protected set(file: string, position: Position, data: ITreeNode) {
2626
let list = this.data.get(lowerCaseInsensitivePath(file));

packages/vscode-js-profile-core/src/heap/layout.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type HeapProfileLayoutComponent<T> = FunctionComponent<{
1818
}>;
1919

2020
/**
21-
* Base layout component to display CPU-profile related info.
21+
* Base layout component to display heap-profile related info.
2222
*/
2323
export const heapProfileLayoutFactory = <T extends {}>(): HeapProfileLayoutComponent<T> => {
2424
const HeapProfileLayout: HeapProfileLayoutComponent<T> = ({

0 commit comments

Comments
 (0)