Category "typescript"

How can I implement webview background audio play on Vimeo in react native?

Now I can play videos from vimeo in react-native. import WebView from 'react-native-autoheight-webview'; <WebView allowsFullscreenVideo scrollEnabled={false

How call flow function by TypeScript

Now I'm developing an open source framework https://github.com/babyfish-ct/graphql-ts-client/ .In 3.X, I want to integrate with relay(not fully finished). I nee

ANGULAR - HYBRID - Can't bind to 'ngClass' since it isn't a known property of 'a'

I'm working on a Angular Hybrid project which has several modules from Angular 12 and other from AngularJS. Recently I updated the libraries to Angular 13. Afte

How to add a SCSS stylesheet to a Lit web component?

I'm building a web component using lit.dev. For my component, I want to import an SCSS stylesheet and use it the following way: // example-component/example-com

Three react fiber OrbitControls ref object throws error in typescript at build phase (code does work)

I am currently stuck on a typescript error regarding the type of a ref object (as far as I know). I am quite new to typescript so i don't understand how to reso

TS Types for Google Calander API

So was experimenting with the Google Calendar API and working on it with TS. However, I can't seem to find a proper type for most of its functions. I do know th

Typescript: Changing the definition of some third party types d.ts

I am a little bit lost how to do the following. I am trying to change the definitions of some third party types by creating a new file thirdParty.d.ts. Let's su

Getting warning while running intall

Why am I getting this warning its not in the package.json file. But when I do a npm install I get this warning message. npm WARN deprecated [email protected]: Ple

How do dynamically and programmatically add a debug configuration in a vscode debugger extension?

We have a VSCode debugger extension. It allows debugging of things happening on a connected device (iOS/Android/...). We have a nodejs native addon capable of d

Expand & collapse angular material table with a button

I'm having a problem with angular material table, I want each row to be expanded with a button (details button as shown in picture), but it getting expanded at

In TypeScript, I can't seem to delete a specific value from an HTML table

I'm extremely new with JavaScript and TypeScript (like, day 3). I need to let the user delete a value that they entered into a table. I've been working on this

Extend angular-material buttons with loading animations

I'm trying to create a generic solution in Angular 12 for disabling (and displaying a spinner) when a button is clicked, until the API responses. In order to ac

What does () mean if set as a interface property?

In the Vue.js source code (packages/reactivity/src/effects.ts), I found this: export interface ReactiveEffectRunner<T = any> { (): T effect: ReactiveE

ngSubmit not working (Following Traversy Media Angular Crash Course)

My ngSubmit is not working. The problem is that I am trying to follow Angular Crash Course this tutorial at 1:30:00 mark he tries to add in onSubmit alert and I

This React Private Route isn't catching Firebase Auth in time?

I'm working with React to build a admin panel for a website, and using Firebase as the authentication system (and data storage, etc). I've gone through a few Pr

error TS2339: Property 'clipboard' does not exist on type 'Navigator'

I get this error in my project, that I am updating - they want to copy data to the clipboard. Custom data, that I can easily put together error TS2339: Property

Integrate bootstrapVue using TypeScript and Vue3

use(BootstrapVue as any) can correct the following error but still in browser it doesn't work. main.ts : import { createApp }from 'vue'; import App from './App.

Typescript error TS2583 Cannot find name 'Set'

I have just started learning Typescript today and when I run tsc app.ts I get 11 errors but I thought I would start with the first. Tried updating tsconfig.json

Swiper 8 and jest

Swiper 8 and Jest (support ESM) Must use import to load ES Module enter image description here enter image description here How we can solve if I need to keep s

react The swipe animation will be performed twice

When you press the Circle button, the Box moves to the right and disappears from the screen. Additional information (FW/tool version, etc.) react scss Typescrip