Skip to content

Commit

Permalink
Merge branch 'master' into strictify-types
Browse files Browse the repository at this point in the history
  • Loading branch information
uzmoi committed Aug 4, 2024
2 parents 8d9502f + e1454f4 commit c8f8637
Show file tree
Hide file tree
Showing 10 changed files with 774 additions and 1,068 deletions.
16 changes: 8 additions & 8 deletions etc/aiscript.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ type And = NodeBase & {
};

// @public (undocumented)
const ARR: (arr: VArr['value']) => VArr;
const ARR: (arr: VArr["value"]) => VArr;

// @public (undocumented)
type Arr = NodeBase & {
Expand Down Expand Up @@ -184,7 +184,7 @@ type Block = NodeBase & {
};

// @public (undocumented)
const BOOL: (bool: VBool['value']) => VBool;
const BOOL: (bool: VBool["value"]) => VBool;

// @public (undocumented)
type Bool = NodeBase & {
Expand Down Expand Up @@ -272,7 +272,7 @@ const FALSE: {
};

// @public (undocumented)
const FN: (args: VUserFn['args'], statements: VUserFn['statements'], scope: VUserFn['scope']) => VUserFn;
const FN: (args: VUserFn["args"], statements: VUserFn["statements"], scope: VUserFn["scope"]) => VUserFn;

// @public (undocumented)
type Fn = NodeBase & {
Expand All @@ -288,7 +288,7 @@ type Fn = NodeBase & {
};

// @public (undocumented)
const FN_NATIVE: (fn: VNativeFn['native']) => VNativeFn;
const FN_NATIVE: (fn: VNativeFn["native"]) => VNativeFn;

// @public (undocumented)
type FnTypeSource = NodeBase & {
Expand Down Expand Up @@ -466,7 +466,7 @@ type Null = NodeBase & {
};

// @public (undocumented)
const NUM: (num: VNum['value']) => VNum;
const NUM: (num: VNum["value"]) => VNum;

// @public (undocumented)
type Num = NodeBase & {
Expand All @@ -475,7 +475,7 @@ type Num = NodeBase & {
};

// @public (undocumented)
const OBJ: (obj: VObj['value']) => VObj;
const OBJ: (obj: VObj["value"]) => VObj;

// @public (undocumented)
type Obj = NodeBase & {
Expand Down Expand Up @@ -524,7 +524,7 @@ type Prop = NodeBase & {
function reprValue(value: Value, literalLike?: boolean, processedObjects?: Set<object>): string;

// @public (undocumented)
const RETURN: (v: VReturn['value']) => Value;
const RETURN: (v: VReturn["value"]) => Value;

// @public (undocumented)
type Return = NodeBase & {
Expand Down Expand Up @@ -561,7 +561,7 @@ export class Scope {
type Statement = Definition | Return | Each | For | Loop | Break | Continue | Assign | AddAssign | SubAssign;

// @public (undocumented)
const STR: (str: VStr['value']) => VStr;
const STR: (str: VStr["value"]) => VStr;

// @public (undocumented)
type Str = NodeBase & {
Expand Down
Loading

0 comments on commit c8f8637

Please sign in to comment.