fix: export type information

This commit is contained in:
Daylin Morgan 2023-10-20 15:14:39 -05:00
parent 48ad65c521
commit a7eb31407d
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -7,13 +7,13 @@ import bbansi/utils
let noColor = os.getEnv("NO_COLOR") != ""
type
BbSpan = object
styles: seq[string]
slice: array[2, int]
BbString = object
raw: string
plain: string
spans: seq[BbSpan]
BbSpan* = object
styles*: seq[string]
slice*: array[2, int]
BbString* = object
raw*: string
plain*: string
spans*: seq[BbSpan]
proc len(span: BbSpan): int = span.slice[1] - span.slice[0]