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 56,450 public repositories matching this topic...
atob('foobar!!') returns a DOMException in chrome, but it returns a DataDecodeError in Deno. This should be aligned to match Chrome behaviour.
This is made more obvious by #41877, which corrects the spans of tags to their full spans, making the error spans even more ungainly. Here's one example; see the errors.txt diffs in the linked PR for more.
Expected behavior:
/** @type {Gioconda} */
~~~~~~~~~~~~~~~~ // before #41877
~~~~~~~~~~~~~~~~~ // after #41877 (both are wrong)
!!! error TS8030: The type- I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
Steps to reproduce
- Open demo at https://ant.desig
- The issue is present in the latest release.
- I have searched the [issues](https://github.com/mui
Describe the bug
Storybook --host attribute it changes localhost where it should change network host.
start-storybook -h 192.168.89.89 -p 9009
Local: http://192.168.89.89:9009
On your network: http://10.0.2.15:9009
The expected result should be like the one bellow
Local: http://localhost::9009/
On your network: http://192.168.89.89:9009
-
Updated
Dec 18, 2020 - TypeScript
-
Updated
Dec 18, 2020 - TypeScript
-
Updated
Dec 18, 2020 - TypeScript
Environment
Vuetify Version: 2.3.19
Vue Version: 2.6.12
Browsers: Chrome 86.0.4240.198
OS: Linux x86_64
Steps to reproduce
Enable dense mode in v-text-field and add prefix
Expected Behavior
Prefix and the text field content should vertically align even in dense mode
Actual Behavior
Prefix is slightly above the text field content
Reproduction L
相关平台
微信小程序
复现仓库
https://github.com/li-z/taro-bug
小程序基础库: 2.12.0
使用框架: React
复现步骤
运行项目后点击跳转到详情页,然后返回首页。然后触发子组件的 onClick 事件时,回调函数却还是详情页的函数。去掉id属性后正常。
期望结果
有无id属性都应正常
实际结果
有id属性异常
环境信息
Taro CLI 3.0.7 environment info:
System:
OS: macOS
Taro能使用wxs吗?
ng update on windows fails when cli version wants to preinstall | loader.js | Cannot find module
-
Updated
Dec 17, 2020 - TypeScript
-
Updated
Dec 14, 2020 - JavaScript
-
Updated
Dec 18, 2020 - TypeScript
-
Updated
Dec 17, 2020 - TypeScript
I am just trying to figure out what's a good strategy for the return types of functional react components that return jsx. I'm not a fan of everything being typed as JSX.Element. I did find that React.FunctionComponentElement requires some generics to be passed in, which seems like it might be something we want to use, but not sure.
-
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
Environment
- Package version(s): @blueprintjs/[email protected] @blueprintjs/[email protected]
- 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
Dec 18, 2020 - TypeScript
-
Updated
Dec 18, 2020 - Go
-
Updated
Dec 15, 2020 - TypeScript
-
Updated
Dec 18, 2020 - TypeScript
-
Updated
Dec 18, 2020 - C++
-
Updated
Dec 18, 2020 - TypeScript
-
Updated
Nov 14, 2020 - Go
Created by Microsoft
Released October 1, 2012
Latest release 9 days ago
- Repository
- Microsoft/TypeScript
- Website
- www.typescriptlang.org
- Wikipedia
- Wikipedia
Given this jsdoc block: