Skip to content
Merged
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
2 changes: 1 addition & 1 deletion types/node/node-tests/v8.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ v8.deserialize("Hello World!");
v8.isStringOneByteRepresentation("你好"); // $ExpectType boolean

{
using profile: v8.SyncCPUProfileHandle = v8.startCPUProfile();
using profile: v8.SyncCPUProfileHandle = v8.startCpuProfile();
profile.stop(); // $ExpectType string
}
2 changes: 1 addition & 1 deletion types/node/v8.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ declare module "node:v8" {
* ```
* @since v25.0.0
*/
function startCPUProfile(): SyncCPUProfileHandle;
function startCpuProfile(): SyncCPUProfileHandle;
/**
* V8 only supports `Latin-1/ISO-8859-1` and `UTF16` as the underlying representation of a string.
* If the `content` uses `Latin-1/ISO-8859-1` as the underlying representation, this function will return true;
Expand Down