PEP 695: fix TypeScript syntax (#2726)

fix typescript syntax
This commit is contained in:
DetachHead 2022-07-25 09:59:02 +10:00 committed by GitHub
parent 49686bc4db
commit fd50a6c9e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -971,7 +971,7 @@ syntax supports generics.
val1: S;
val2: T;
method1<U extends SomeInterface2>(val: U): S { }
method1<U extends SomeInterface2>(val: U): S
}
// Generic function
@ -984,7 +984,7 @@ syntax supports generics.
interface InterfaceC<T = SomeInterface3> { }
// Generic type alias
type MyType<T extends SomeInterface4> = array<T>
type MyType<T extends SomeInterface4> = Array<T>
Scala