Skip to content

Commit

Permalink
fix violations
Browse files Browse the repository at this point in the history
  • Loading branch information
iliapolo committed Jan 7, 2025
1 parent 1901ac7 commit af66315
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions packages/jsii-reflect/lib/callable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
10 changes: 5 additions & 5 deletions packages/jsii-reflect/lib/module-like.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, Type>;
declare protected abstract readonly typeMap: ReadonlyMap<string, Type>;

/**
* Cache for the results of `tryFindType`.
Expand Down

0 comments on commit af66315

Please sign in to comment.