Skip to content
#

TypeScript

typescript logo

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 114,354 public repositories matching this topic...

bxantus
bxantus commented Jun 13, 2022

For me it would make a lot of sense to run check in watch mode.
I think that adding check subcommand was a great idea, and running it in watch mode would provide the best development experience (at least for me). Also if I'm not mistaken it would check further edits faster, as typescript compiler is already warmed up after the first check.

deno check --watch
good first issue feat help wanted --watch
angular
prabh-62
prabh-62 commented Jun 28, 2022

Which @angular/* package(s) are the source of the bug?

forms

Is this a regression?

No

Description

Expose ControlConfig type in public API

export type ControlConfig<T> = [T|FormControlState<T>, (ValidatorFn|(ValidatorFn[]))?, (AsyncValidatorFn|AsyncValidatorFn[])?];

https://github.com/angular/angular/blob/main/packages/forms/src/form_builder.ts#L

help wanted comp: forms state: has PR good first issue
sandersn
sandersn commented Jun 29, 2022

As explained in microsoft/TypeScript#2548, the following code is not correct when useDefineForClassFields: false, which is the default for targets before ES2021.

const x = 1
class C {
    p = x
    constructor(x: string) { }
}

However, when useDefineForClassFields: true, there shouldn't be an error here.

Expected: No error 2301 on `private p =

Bug Good First Issue
ant-design
DavidSichau
DavidSichau commented Jun 15, 2022

What problem does this feature solve?

I want to provide additional properties to a menu for example to make it better testable. This works but TS is reporting an error as the attribute 'data-test' does not exit in type ItemType.

const items: Array<ItemType> = [
    {
      key: 'exercises',
      // @ts-ignore
      'data-test': 'exercises',
      icon: <Fa icon={faTasks} fixed
help wanted good first issue
material-ui
joris-htx
joris-htx commented Jul 6, 2022

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

CSS classes .Mui-active and .Mui-completed are not applied to MuiStepLabel iconContainer element. As a result, it's not possible to change the iconContainer style using custom theme

Expected behavior 🤔

I would expect the `.Mui-acti

new feature good first issue component: stepper
storybook
idesigncode
idesigncode commented Nov 24, 2021

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.

vuetify
Kasheftin
Kasheftin commented Apr 5, 2022

Environment

Vuetify Version: 2.6.4
Vue Version: 2.6.13
Browsers: Chrome 98.0.4758.102
OS: Linux x86_64

Steps to reproduce

  • Click on "Dropdown" button, the menu is shown under the button;
  • Click on "Toggle Menu" twice;
  • Click on "Dropdown" button, the menu is shown somewhere at the left;

Expected Behavior

It should work in a stable way. Menu should be

T: bug good first issue C: VMenu
ajuner
ajuner commented Jun 14, 2022

相关平台

钉钉小程序

使用框架: React

复现步骤

3.4版本升级至3.5

期望结果

升级成功

实际结果

升级失败

环境信息

👽 Taro v3.5.0-beta.0


  Taro CLI 3.5.0-beta.0 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 16.14.0 - D:\Program Files\nodejs\node.EXE
      Yarn: 1.22.17 - C:\Users\caiju\AppData\Roamin
good first issue V-3 F-react T-dd
vadimkantorov
vadimkantorov commented May 7, 2021

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...

prisma
binary64
binary64 commented Aug 2, 2021

Bug description

On windows, I run prisma format and note the unusual file ending. The lines are all LF, but the very last line is CRLF.

This causes issue on my Linux CI where it formats it ending in LF's only, causing a diff to occur and the build to fail.

How to reproduce

  1. On windows do prisma format
  2. Open in HxD or similar
  3. See attached:

![image](https://user-images.g

bug/1-unconfirmed kind/bug topic: windows tech/typescript
NativeScript
erkanarslan
erkanarslan commented Mar 5, 2020

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

Created by Microsoft

Released October 1, 2012

Latest release 22 days ago

Repository
Microsoft/TypeScript
Website
www.typescriptlang.org
Wikipedia
Wikipedia

Related Topics

es6 javascript language nodejs