public lib Preview.Classes { public class Test { private var _name: string; constructor(name: string) { this._name = name; } public func getName(): string { return this._name; } } }