TypeScript

TypeScript is an open source programming language developed by Microsoft and first released in 2012. It is designed to add type safety to JavaScript while conforming as closely as possible to the syntax and semantics of the ECMAScript standard.
It is a syntactical superset of the JavaScript programming language; all valid JavaScript source code is also valid TypeScript source code, but not vice-versa. TypeScript compiles (or transpiles) to JavaScript, meaning that it can be utilized to target any JavaScript environment. It can be used to develop JavaScript for both client-side and server-side applications.
Here are 52,415 public repositories matching this topic...
Bit of background: I had encountered an encoding issue in a webpage with accepting user files at runtime, and had sought to resolve the encoding issue using the browser's native TextDecoder
. To start, I needed a good list of supported encodings, I checked out MDN and a polyfill GitHub https://github.com/inexorabletash/text-encoding. Combined the lists and ran a loop to see what threw errors, and
TS Template added by @mjbvz
TypeScript Version: 4.1.0-dev.20200916
Search Terms
- convert to template string
- refactoring / code action
(see comment for condensed repro of the problem)
Issue Type: Bug
Please consider the following JavaScript example:
const foo = location.h
Is your feature request related to a problem? Please describe
In my component's props TS interface, I can use JSDoc comments to set the description, and can even use the @default
tag to describe the default value
However, nothing happens when I use the @deprecated
tag.
Describe the solution you'd like
Some ideas:
- It would be nice i
-
Updated
Oct 18, 2020 - TypeScript
-
Updated
Oct 18, 2020 - TypeScript
-
Updated
Oct 19, 2020 - TypeScript
Environment
Vuetify Version: 2.3.5
Vue Version: 2.6.11
Browsers: Chrome 84.0.4147.89
OS: Mac OS 10.15.5
Steps to reproduce
Setup theme as Dark mode.
Try the example.
Only Hover list, and Transitions examples can see the affect.
Other examples looks bad in the dark mode.
Expected Behavior
Should show affects in the example.
Actual Behavior
Looks
Taro能使用wxs吗?
问题描述
最近使用movable-view
做了一个拖拽排序的功能,但是由于需要touchmove
事件频繁setState
来更新movable-view
的坐标,导致Android
的上的性能体验很差,IOS
不会。
看了微信的文档,这种情况可以使用WXS
来解决,请问Taro
中能否使用WXS
?如何使用呢?
参考文档: https://developers.weixin.qq.com/miniprogram/dev/framework/view/interactive-animation.html
https://developers.weixin.qq.com/miniprogram/dev/framework/performance/tips.html
ng update on windows fails when cli version wants to preinstall | loader.js | Cannot find module
-
Updated
Oct 18, 2020 - JavaScript
-
Updated
Oct 10, 2020 - JavaScript
-
Updated
Oct 17, 2020 - TypeScript
-
Updated
Oct 19, 2020 - TypeScript
-
Updated
May 20, 2019 - TypeScript
Environment
Provide version numbers for the following components (information can be retrieved by running tns info
in your project folder or by inspecting the package.json
of the project):
- CLI: 6.2.2
- Cross-platform modules: 6.0.1
- Android Runtime: 6.2.0
- iOS Runtime: 6.2.0
- Plugin(s): unrelated
Describe the bug
openFile method of utils module does not preview the
React version:
@types/react@16.9.49
@types/prop-types@15.7.3
ts version 4.0.2
Steps To Reproduce
import React from 'react';
interface A {
a: number;
}
function foo(param: React.ComponentClass<A>) {
return param;
}
function foobar<T extends A >(param: React.ComponentClass<T>) {
foo(param);
}
Environment
- Package version(s): @blueprintjs/core@3.17.2 @blueprintjs/select@3.11.2
- Browser and OS versions: MacOS Catalina (10.15.1) / Chrome 78.0.3904.108
Question
Is there any solid documentation for the renderFilteredItems()
utility function exported from the select
package? It is briefly mentioned under the itemListRenderer
props section of the select
c
-
Updated
Oct 11, 2020 - TypeScript
-
Updated
Oct 19, 2020 - JavaScript
-
Updated
Oct 18, 2020 - TypeScript
-
Updated
Oct 19, 2020 - C++
-
Updated
Oct 18, 2020 - TypeScript
-
Updated
Oct 18, 2020 - TypeScript
-
Updated
Oct 19, 2020 - Go
-
Updated
Oct 11, 2020 - Go
Created by Microsoft
Released October 1, 2012
Latest release about 1 month ago
- Repository
- Microsoft/TypeScript
- Website
- www.typescriptlang.org
- Wikipedia
- Wikipedia
When we open the editor or in general from command pallette, there are 2 options to start: opening a folder and cloning a repo