[ty] Rename type_api => ty_extensions (#19523)
This commit is contained in:
@@ -625,7 +625,7 @@ len()
|
||||
len([], 1)
|
||||
```
|
||||
|
||||
### Type API predicates
|
||||
### Type property predicates
|
||||
|
||||
```py
|
||||
from ty_extensions import is_subtype_of
|
||||
|
||||
@@ -3,8 +3,8 @@ source: crates/ty_test/src/lib.rs
|
||||
expression: snapshot
|
||||
---
|
||||
---
|
||||
mdtest name: type_api.md - Type API (`ty_extensions`) - Diagnostic snapshots
|
||||
mdtest path: crates/ty_python_semantic/resources/mdtest/type_api.md
|
||||
mdtest name: ty_extensions.md - `ty_extensions` - Diagnostic snapshots
|
||||
mdtest path: crates/ty_python_semantic/resources/mdtest/ty_extensions.md
|
||||
---
|
||||
|
||||
# Python source files
|
||||
@@ -1,4 +1,4 @@
|
||||
# Type API (`ty_extensions`)
|
||||
# `ty_extensions`
|
||||
|
||||
This document describes the internal `ty_extensions` API for creating and manipulating types as well
|
||||
as testing various type system properties.
|
||||
Reference in New Issue
Block a user