Skip to content

Commit 535a7b1

Browse files
authored
Add type as well
1 parent c191359 commit 535a7b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test-data/unit/fixtures/literal__new__.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ from typing import Literal, Protocol, overload
33
class object:
44
def __init__(self) -> None: pass
55

6+
class type:
7+
def __init__(self, x) -> None: pass
8+
69
class str: pass
710
class dict: pass
811
class float: pass

0 commit comments

Comments
 (0)