Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Wrong types #367

@agmontpetit

Description

@agmontpetit

I'm using Node with TypeScript and I'm facing an issue with types when starting the debugger as suggested in the Quick Start section:

import debugAgent = require('@google-cloud/debug-agent');
debugAgent.start({ allowExpressions: true });

It seems the type definition is wrong and more params (other than allowExpressions) are required:

Argument of type '{ allowExpressions: true; }' is not assignable to parameter of type 'DebugAgentConfig | StackdriverConfig'.

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.api: clouddebuggerIssues related to the googleapis/cloud-debug-nodejs API.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions