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 87,745 public repositories matching this topic...
Hi all,
I'm using the deno repl to test & build out my application.
The --unsafely-ignore-certificate-errors
flag works when using deno run
but not for deno repl
.
I assume this is expected, but I don't have an easy way to test my get calls to this server that's outside of my control.
Perhaps there could be (or already is) a way to configure this option from inside the repl and/or usin
-
Updated
Dec 2, 2021 - TypeScript
From privateNameInInExpression.errors.txt:
const b = #fiel in v; // Bad - typo in privateID
~~~~~
!!! error TS2304: Cannot find name '#fiel'.
~~~~~
!!! error TS2339: Property '#fiel' does not exist on type 'any'.
for (#field in v) { /**/ } // Bad - 'in' not allowed
~~~~~~
!!! error TS1451: Private i
- 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 of this repository and believe that this is not a duplicate.
Current Behavior 😯
- Chrome version:
- 95.0.4638.54 (Official Build) (64-bit) (ubuntu)
- 95.0.4638.54 (Official Build) (64-bit) (windows)
- 94.0.4606.85 (Official Build) (Android 1
Describe the bug
In Firefox, the zoom feature uses transform
styles (see storybookjs/storybook#12845) - unfortunately this breaks positioning on elements that require position: fixed
when in the "Docs" view.
Normally a position: fixed
element's position would correspond to the viewport but in Firefox it corresponds to the element with the transform
style.
-
Updated
Dec 1, 2021 - TypeScript
-
Updated
Dec 2, 2021 - TypeScript
-
Updated
Dec 2, 2021 - TypeScript
相关平台
微信小程序
复现仓库
https://github.com/yangxudong-functorz/taro_issues/blob/main/issue1.ts
小程序基础库: 2.17.3
使用框架: React
复现步骤
直接只用 npm run build:weapp, 报错: Module not found: Can't resolve '"},"path":"....../xxx.config.ts"
期望结果
编译成功
(If applicable) Reproduction of issue in TypeScript Playground
-
Updated
Dec 1, 2021 - Go
I'm making a client-side code editor with rudimentary Git support, and syntax highlighting for diff/patch files would be really nice - a way to view the whole diff in a single window (alternative to existing diffeditor - with similar colors to git diff
console coloring), maybe would be useful for others too.
https://github.com/microsoft/monaco-languages/ asks to create issues in this repo...
-
Updated
Dec 2, 2021 - TypeScript
Cannot read property 'properties' of undefined when adding a lazy loaded module with ng generate
🐞 Bug report
Command (mark with an x
)
- new
- build
- serve
- test
- e2e
- generate
- add
- update
- lint
- extract-i18n
- run
- config
- help
- version
- doc
Description
While attempting to find the
-
Updated
Nov 30, 2021 - TypeScript
-
Updated
Dec 2, 2021 - TypeScript
-
Updated
Dec 2, 2021 - TypeScript
-
Updated
Aug 3, 2021 - 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
-
Updated
Dec 2, 2021 - TypeScript
-
Updated
Dec 1, 2021 - JavaScript
Discussed in vercel/swr#1630
Originally posted by correttojs November 11, 2021
currently the refreshInterval
option can only be a number. In some cases this number should be dynamic, dependent on the updated fetched data.
For example, the fetcher returns a list of items and a value corresponding to the nex
-
Updated
May 20, 2019 - TypeScript
-
Updated
Dec 2, 2021 - TypeScript
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
Created by Microsoft
Released October 1, 2012
Latest release 21 days ago
- Repository
- Microsoft/TypeScript
- Website
- www.typescriptlang.org
- Wikipedia
- Wikipedia
Snippets may from extension or builtin, it would be helpful if display where the snippet from.