Skip to content

Commit b618670

Browse files
committed
overloaded function call signature change
1 parent ac78ea4 commit b618670

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

@types/decorators/p5jsClassInjection.d.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Class } from "../../typings/types";
22
export default InjectToP5js;
3-
declare function InjectToP5js(isP5ParamLast: Class): void;
3+
declare function InjectToP5js(c: Class): void;
44
declare function InjectToP5js(isP5ParamLast?: boolean, // defaults to falsy
55
createPrefix?: string, // defaults to "create" + classname
66
scriptTagAttrName?: string): ClassDecorator;

@types/decorators/p5jsClassInjection.d.mts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/decorators/p5jsClassInjection.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { AUTO, CREATE, INIT, DescriptorsAllTrue } from "../base/globals.mjs";
88

99
export default InjectToP5js;
1010

11-
function InjectToP5js(isP5ParamLast: Class): void; // isP5ParamLast is truthy
11+
function InjectToP5js(c: Class): void; // isP5ParamLast is truthy
1212

1313
function InjectToP5js(
1414
isP5ParamLast?: boolean, // defaults to falsy

0 commit comments

Comments
 (0)