diff --git a/packages/jsii-reflect/lib/callable.ts b/packages/jsii-reflect/lib/callable.ts index bc673506ab..d0fc6fabad 100644 --- a/packages/jsii-reflect/lib/callable.ts +++ b/packages/jsii-reflect/lib/callable.ts @@ -16,9 +16,9 @@ import { TypeSystem } from './type-system'; export abstract class Callable implements Documentable, Overridable, TypeMember, SourceLocatable { - public declare abstract readonly kind: MemberKind; - public declare abstract readonly name: string; - public declare abstract readonly abstract: boolean; + declare public abstract readonly kind: MemberKind; + declare public abstract readonly name: string; + declare public abstract readonly abstract: boolean; public constructor( public readonly system: TypeSystem, diff --git a/packages/jsii-reflect/lib/module-like.ts b/packages/jsii-reflect/lib/module-like.ts index 25dc8b74c1..4bb291f04c 100644 --- a/packages/jsii-reflect/lib/module-like.ts +++ b/packages/jsii-reflect/lib/module-like.ts @@ -8,20 +8,20 @@ import { Type } from './type'; import { TypeSystem } from './type-system'; export abstract class ModuleLike { - public declare abstract readonly fqn: string; + declare public abstract readonly fqn: string; /** * A map of target name to configuration, which is used when generating packages for * various languages. */ - public declare abstract readonly targets?: jsii.AssemblyTargets; - public declare abstract readonly readme?: jsii.ReadMe; + declare public abstract readonly targets?: jsii.AssemblyTargets; + declare public abstract readonly readme?: jsii.ReadMe; - protected declare abstract readonly submoduleMap: ReadonlyMap< + declare protected abstract readonly submoduleMap: ReadonlyMap< string, Submodule >; - protected declare abstract readonly typeMap: ReadonlyMap; + declare protected abstract readonly typeMap: ReadonlyMap; /** * Cache for the results of `tryFindType`.