Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [typescript]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
57 views

Dispatch event is not propagating to parent LWC

There are 3 data providers, OrderDataProvider (available at Page level), OrderDeliveryGroupsDataProvider (dependent on OrderDataProvider property -> DeliveryGroups), OrderLineItemsDataProvider (...
Paras Saini's user avatar
4 votes
0 answers
21 views

Typescript and stubbing/ mocking a cli extension

I'm working on a SF cli extension. As recommended, it's written in typescript. I'm writing unit tests. I'm early on the learning curve for typescript and cli extensions for SF. I've been trying to ...
Kevin P's user avatar
  • 7,258
0 votes
1 answer
41 views

Typing Results of querySelectorAll for LWC Components with JSDoc

Salesforce and JavaScript community! I'm looking for the best way to type the result of a querySelectorAll call that targets custom LWC elements. My query is specifically aimed at selecting lightning-...
Nicholas Zozaya's user avatar
0 votes
1 answer
38 views

Vscode extension code error "transport target for "..\..\lib\logger\transformStream"

I'm trying to create a new VsCode extension that connects to the default salesforce org using the npm package @salesforce/core with typescript. the code is the following: // The module 'vscode' ...
faouzi Ch's user avatar
1 vote
0 answers
49 views

Debugging Streaming API: Receive and monitor all CometD listeners (subscribers)

We have successfully built a couple of integrations to other systems using the Streaming API (mostly Custom Platform Events). However, our "adapter" (written in TypeScript, using JSForce ...
J. Schreiber's user avatar
  • 1,559
1 vote
0 answers
456 views

How can I get TypeScript to always ignore importing Lightning Web Components?

We're experimenting with TypeScript and one of the false errors it's reporting is when importing Lightning Web Components because it can't find the c directory: Obviously we can disable this by ...
Chuck's user avatar
  • 967
2 votes
1 answer
189 views

Why isn't `"checkJS": true` working with Lightning Web Components?

I'm experimenting with using TypeScript to the extent possible in Lightning Web Components (as described in this article), and while it works if I put // @ts-check at the top of my JavaScript file, ...
Chuck's user avatar
  • 967