Skip to content

Commit

Permalink
[pinpoint-apm#117] node-agent index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
feelform committed Sep 12, 2023
1 parent 5dbd43a commit 4e5e2ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
19 changes: 2 additions & 17 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
declare namespace Pinpoint {
export interface Agent {
start(initOptions: any);
initializeDataSender(): void;
initializeSupportModules(): void;
initializePinpointClient(): void;
createTraceObject(requestData: any): Trace;
currentTraceObject(): any;
completeTraceObject(trace: any): void;
createAgentInfo(config: any, agentStartTime: any): AgentInfo;
startSchedule(agentId: any, agentStartTime: any): void;
spanEndCallbackWrapper(trace: any, spanEventRecorder: any, original: any): any;
}

export interface Trace {
}

export interface AgentInfo {
export class Agent {
constructor(initOptions: any);
}
}
declare const pinpointAgent: Pinpoint.Agent;
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "pinpoint-node-agent",
"version": "0.9.0-next.2",
"main": "index.js",
"types": "index.d.ts",
"type": "commonjs",
"scripts": {
"test": "tape ./test/**/*.test.js",
Expand Down

0 comments on commit 4e5e2ad

Please sign in to comment.