Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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 2 Plugins/BridgeJS/Sources/BridgeJSLink/BridgeJSLink.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3094,7 +3094,7 @@ extension BridgeJSLink {
let sortedFunctions = childNode.content.functions.sorted { $0.name < $1.name }
for function in sortedFunctions {
let signature =
"\(function.name)\(renderTSSignatureCallback(function.parameters, function.returnType, function.effects));"
"function \(function.name)\(renderTSSignatureCallback(function.parameters, function.returnType, function.effects));"
printer.write(signature)
}
let sortedProperties = childNode.content.staticProperties.sorted { $0.name < $1.name }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ declare global {
namespace Services {
namespace Graph {
namespace GraphOperations {
createGraph(rootId: number): number;
nodeCount(graphId: number): number;
validate(graphId: number): boolean;
function createGraph(rootId: number): number;
function nodeCount(graphId: number): number;
function validate(graphId: number): boolean;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ declare global {
constructor();
greet(): string;
}
globalFunction(): string;
function globalFunction(): string;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export {};
declare global {
namespace MyModule {
namespace Utils {
namespacedFunction(): string;
function namespacedFunction(): string;
}
}
namespace Utils {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export {};
declare global {
namespace Utils {
namespace String {
uppercase(text: string): string;
function uppercase(text: string): string;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Generated TypeScript definitions:
declare global {
namespace Utils {
namespace String {
uppercase(text: string): string;
function uppercase(text: string): string;
}
}
}
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.