Skip to content

Commit 06b74c9

Browse files
Merge branch 'master' into v0.2
Conflicts: bin/typedoc.js package.json src/typedoc/factories/Dispatcher.ts
2 parents 3b8ed8d + f020677 commit 06b74c9

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

examples/basic/src/classes.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export class BaseClass implements INameInterface
135135
* @param param2 The second parameter needed by this function.
136136
* @see https://github.com/sebastian-lenz/typedoc/issues/37
137137
*/
138-
public arrowFunction = (param1: string, param2: number): void => {
138+
public arrowFunction = (param2: string, param1: number): void => {
139139
};
140140

141141

@@ -157,6 +157,22 @@ export class BaseClass implements INameInterface
157157
static getInstance():BaseClass {
158158
return BaseClass.instance;
159159
}
160+
161+
162+
/**
163+
* @see https://github.com/sebastian-lenz/typedoc/issues/42
164+
*/
165+
public static caTest(originalValues:BaseClass, newRecord:any, fieldNames:string[], mandatoryFields:string[]): string {
166+
var returnval = "";
167+
var updates: string[] = [];
168+
var allFields: string[] = fieldNames;
169+
for (var j = 0; j < allFields.length; j++) {
170+
var field = allFields[j];
171+
var oldValue = originalValues[field];
172+
var newValue = newRecord[field];
173+
}
174+
return returnval;
175+
}
160176
}
161177

162178

0 commit comments

Comments
 (0)