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") != "" let noColor = os.getEnv("NO_COLOR") != ""
type type
BbSpan = object BbSpan* = object
styles: seq[string] styles*: seq[string]
slice: array[2, int] slice*: array[2, int]
BbString = object BbString* = object
raw: string raw*: string
plain: string plain*: string
spans: seq[BbSpan] spans*: seq[BbSpan]
proc len(span: BbSpan): int = span.slice[1] - span.slice[0] proc len(span: BbSpan): int = span.slice[1] - span.slice[0]