Skip to content

Commit

Permalink
fix: import Text to SoftwarePackage
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Nov 23, 2018
1 parent a8a2b11 commit 20114f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/SoftwarePackage.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Text } from './dataTypes'
import { type, property } from './decorators'
import OperatingSystem from './OperatingSystem'
import SoftwareApplication from './SoftwareApplication'
Expand Down Expand Up @@ -40,6 +41,9 @@ export default class SoftwarePackage extends SoftwareSourceCode {
/**
* Operating systems supported (Windows 7, OSX 10.6, Android 1.6).
*
* `schema:operatingSystem` expects type `Text`, whereas here we
* expect `OperatingSystem`
*
* @see {@link https://schema.org/operatingSystem}
*/
@property('schema:operatingSystem')
Expand Down

0 comments on commit 20114f3

Please sign in to comment.