Add bytesType to pkl:reflect (#1144)

Just like other data types on the base module, the mirror for `Bytes`
should be available directly on `pkl:reflect`.
This commit is contained in:
Daniel Chao
2025-07-24 06:21:10 -07:00
committed by GitHub
parent 7c8c4438d5
commit 53f6951d81

View File

@@ -100,6 +100,10 @@ const listingType: DeclaredType = DeclaredType(Class(Listing))
/// A mirror for the `Mapping<unknown, unknown>` type.
const mappingType: DeclaredType = DeclaredType(Class(Mapping))
/// A mirror for the `Bytes` type.
@Since { version = "0.29.0" }
const bytesType: DeclaredType = DeclaredType(Class(Bytes))
/// A mirror for the `module` type.
external const moduleType: ModuleType