diff --git a/gotyno-hs.cabal b/gotyno-hs.cabal
--- a/gotyno-hs.cabal
+++ b/gotyno-hs.cabal
@@ -5,7 +5,7 @@
 -- see: https://github.com/sol/hpack
 
 name:           gotyno-hs
-version:        1.0.1
+version:        1.0.2
 synopsis:       A type definition compiler supporting multiple output languages.
 description:    Compiles type definitions into F#, TypeScript and Python, with validators, decoders and encoders.
 category:       Compiler
@@ -39,6 +39,8 @@
     test/reference-output/hasGeneric.py
     test/reference-output/importExample.py
     test/reference-output/python.py
+    test/examples/declaration1.gotyno
+    test/examples/declaration2.gotyno
 
 library
   exposed-modules:
diff --git a/test/examples/declaration1.gotyno b/test/examples/declaration1.gotyno
new file mode 100644
--- /dev/null
+++ b/test/examples/declaration1.gotyno
@@ -0,0 +1,1 @@
+declare external.Option<T>
diff --git a/test/examples/declaration2.gotyno b/test/examples/declaration2.gotyno
new file mode 100644
--- /dev/null
+++ b/test/examples/declaration2.gotyno
@@ -0,0 +1,1 @@
+declare external.Option<T>
